public class TDMSRawData
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
BUFFER_LENGTH |
long |
channelRawDataLength |
java.nio.ByteBuffer |
currentMemoryBuffer |
boolean |
littleEndianDataFormat |
java.util.Set<java.nio.ByteBuffer> |
memoryBuffers |
static long |
overAllUsedMemory |
Constructor and Description |
---|
TDMSRawData() |
Modifier and Type | Method and Description |
---|---|
int |
addInterleavedRawData(byte[] buffer)
Add's the passed raw data to existing raw data
|
int |
addInterleavedStringRawData(byte[] buffer)
Add's the passed raw data to existing raw data
|
int |
addNonInterleavedRawData(byte[] buffer)
Add's the passed raw data to existing raw data
|
int |
addNonInterleavedStringRawData(byte[] buffer)
Add's the passed raw data to existing raw data
|
void |
printValuesToSysout() |
int |
writeStringsToBtfFile(java.nio.channels.FileChannel channel)
Writes the data to btf file
|
int |
writeToBtfFile(java.nio.channels.FileChannel channel)
Writes the data to btf file
|
public static final int BUFFER_LENGTH
public static long overAllUsedMemory
public java.util.Set<java.nio.ByteBuffer> memoryBuffers
public java.nio.ByteBuffer currentMemoryBuffer
public long channelRawDataLength
public boolean littleEndianDataFormat
public int addInterleavedRawData(byte[] buffer)
public int addInterleavedStringRawData(byte[] buffer)
public int addNonInterleavedRawData(byte[] buffer)
public int addNonInterleavedStringRawData(byte[] buffer)
public int writeToBtfFile(java.nio.channels.FileChannel channel) throws java.io.IOException
java.io.IOException
public int writeStringsToBtfFile(java.nio.channels.FileChannel channel) throws java.io.IOException
java.io.IOException
public void printValuesToSysout()