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, getValuesgetSingleValueBufferWrappergetBinaryChannel, getByteBuffer, getByteOrder, getCapacity, getData, getEndPosition, getJavaDataType, getName, getNumberOfValues, getPredecessor, getReadOffset, getStartPosition, read, setPredecessor, setReadOffsetgetLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannelconfigureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toDumpString, toString, toStringpublic 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.IOExceptionpublic final int getSize()
throws java.io.IOException
ByteBufferWrappergetSize in class ByteBufferWrapperjava.io.IOExceptionpublic void reset()
ByteBufferWrapperreset in interface Resettablereset in class IntBufferWrapperCopyright © 2014 EsprIT-Systems. All Rights Reserved.