public class String32BufferWrapper extends IntBufferWrapper
Constructor and Description |
---|
String32BufferWrapper(java.lang.String name,
BinaryChannel binaryChannel) |
String32BufferWrapper(java.lang.String name,
BinaryChannel binaryChannel,
int expectedStringSize) |
Modifier and Type | Method and Description |
---|---|
int |
getSize()
Returns the capacity of the underlying buffer in bytes.
|
java.lang.String |
getText()
Reads in a loop until '0' was found as a string terminator
|
void |
reset()
Clears the internal cache and forces the data to be re-read again on the next access.
|
createSingleValueBufferWrapper, getDoubleValue, getDoubleValue, getIntBuffer, getValue, getValue, getValues
getSingleValueBufferWrapper
getBinaryChannel, getByteBuffer, getByteOrder, getCapacity, getData, getEndPosition, getJavaDataType, getName, getNumberOfValues, getPredecessor, getReadOffset, getStartPosition, read, setPredecessor, setReadOffset
getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannel
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toDumpString, toString, toString
public String32BufferWrapper(java.lang.String name, BinaryChannel binaryChannel)
public String32BufferWrapper(java.lang.String name, BinaryChannel binaryChannel, int expectedStringSize)
public final java.lang.String getText() throws java.io.IOException
java.io.IOException
public final int getSize() throws java.io.IOException
ByteBufferWrapper
getSize
in class ByteBufferWrapper
java.io.IOException
public void reset()
ByteBufferWrapper
reset
in interface Resettable
reset
in class IntBufferWrapper
Copyright © 2014 EsprIT-Systems. All Rights Reserved.