public class ReadWriteTest
extends java.lang.Object
Constructor and Description |
---|
ReadWriteTest() |
Modifier and Type | Method and Description |
---|---|
(package private) static java.nio.ByteBuffer |
generateEvioBuffer(java.nio.ByteOrder order) |
(package private) static byte[] |
generateSequentialInts(int size,
java.nio.ByteOrder order)
Write ints.
|
(package private) static byte[] |
generateSequentialShorts(int size,
java.nio.ByteOrder order)
Write shorts.
|
static void |
main(java.lang.String[] args)
Main
|
(package private) static void |
readFile(java.lang.String finalFilename) |
(package private) static void |
writeFile(java.lang.String finalFilename) |
(package private) static void |
writeFileMT(java.lang.String finalFilename) |
static byte[] generateSequentialInts(int size, java.nio.ByteOrder order)
size
- number of INTSorder
- byte order of generated intsstatic byte[] generateSequentialShorts(int size, java.nio.ByteOrder order)
size
- number of SHORTSorder
- byte order of shorts in memorystatic java.nio.ByteBuffer generateEvioBuffer(java.nio.ByteOrder order)
static void writeFile(java.lang.String finalFilename)
static void writeFileMT(java.lang.String finalFilename)
static void readFile(java.lang.String finalFilename)
public static void main(java.lang.String[] args)
args
- args