Package clickDetector
Class WindowsBuffer
java.lang.Object
clickDetector.WindowsBuffer
- All Implemented Interfaces:
 WriteWinFile
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidclear()totally resets, including deleting of the buffer.byte[]getBytes()intintreadByte()intintvoidreset()Just rests the offset, so writing starts again at the beginning, but does not delete the allocated memory.voidwriteByte(byte b) voidwriteByte(int b) voidwriteWinDouble(double val) voidwriteWinFloat(float val) voidwriteWinInt(int val) voidwriteWinLong(long longValue) voidwriteWinShort(int val)  
- 
Constructor Details
- 
WindowsBuffer
public WindowsBuffer(byte[] data)  
 - 
 - 
Method Details
- 
getUsedBytes
public int getUsedBytes() - 
getBytes
public byte[] getBytes() - 
clear
public void clear()totally resets, including deleting of the buffer. - 
reset
public void reset()Just rests the offset, so writing starts again at the beginning, but does not delete the allocated memory. - 
writeWinInt
- Specified by:
 writeWinIntin interfaceWriteWinFile- Throws:
 IOException
 - 
readWinInt
- Throws:
 IOException
 - 
writeWinShort
- Specified by:
 writeWinShortin interfaceWriteWinFile- Throws:
 IOException
 - 
readWinShort
- Throws:
 IOException
 - 
writeByte
- Specified by:
 writeBytein interfaceWriteWinFile- Throws:
 IOException
 - 
writeByte
- Throws:
 IOException
 - 
readByte
- Throws:
 IOException
 - 
writeWinFloat
- Specified by:
 writeWinFloatin interfaceWriteWinFile- Throws:
 IOException
 - 
writeWinDouble
- Specified by:
 writeWinDoublein interfaceWriteWinFile- Throws:
 IOException
 - 
writeWinLong
- Specified by:
 writeWinLongin interfaceWriteWinFile- Throws:
 IOException
 
 -