Java Tutorial NIO Buffer

Attribute

  1. Set to little endian for ByteBuffer in Java

Convert

  1. Convert ByteBuffer to a FloatBuffer in Java
  2. Convert ByteBuffer to a LongBuffer in Java
  3. Convert ByteBuffer to a ShortBuffer in Java
  4. Convert ByteBuffer to DoubleBuffer in Java

Create

  1. Create a DoubleBuffer in Java
  2. Create a long ByteBuffer in Java

Read

  1. Use While loop to read a DoubleBuffer in Java
  2. Use while loop to read a FloatBuffer in Java
  3. Use while loop to read a LongBuffer in Java
  4. Use while loop to read a ShortBuffer in Java
  5. Read byte array out of a file with FileChannel in Java
  6. Read file into a Byte Buffer through FileChannel in Java
  7. Read int from a file with buffer in Java
  8. Read Mixed Data from a File through ByteBuffer in Java

Write

  1. Save ByteBuffer to a file in Java




















Home »
  Java Tutorial »
    I/O »




Binary File
Byte Array
CharSet
Checksum
Console
Create Copy Move Delete
Directory
Drive
Encode Decode
File Attribute
File Lock
File System
GZIP
Jar File
NIO Buffer
Path
Scanner
StreamTokenizer
Temporary File
Text File
Zip