Java java.nio ByteBuffer Read

Java examples for java.nio:ByteBuffer Read

Description

Click the following links for the tutorial for java.nio and ByteBuffer Read.

  1. read String from ByteBuffer
  2. read File from URL to ByteBuffer
  3. Read Double from InputStream via ByteBuffer
  4. Read Float from InputStream via ByteBuffer
  5. Read Int from InputStream via ByteBuffer
  6. Read Short from InputStream via ByteBuffer
  7. Read Unsigned Int from InputStream via ByteBuffer
  8. Read Unsigned Short from InputStream via ByteBuffer


  9. read Short Array from ByteBuffer
  10. Read a string from the ByteBuffer.
  11. Reads a null-terminated ('\0') string from the provided ByteBuffer.
  12. Read a byte channel until all input is exhausted, returning the results in a byte buffer.
  13. Reads data from the ByteBuffer, inserting it into the StringBuffer, until a full line is read.
  14. ByteBuffer as Readable Byte Channel
  15. Creates a new, read-only byte buffer that shares this buffer's content.
  16. Return the thread local byte buffer.


  17. mapping an entire File into a ByteBuffer read only.
  18. read ReadableByteChannel
  19. Reads the contents of the given File into a ByteBuffer.
  20. read Byte from ByteBuffer
  21. Reads a file and puts its content into a byte buffer, using the given length and offset.
  22. Maps a portion of a file to memory and returns the mapped read-only byte buffer using the given offset and length.
  23. Reads a 24 bit length field and returns a ByteBuffer corresponding to the array of bytes of this length following the length field.
  24. Expands buffer to the given size unless it is already as big or bigger.
  25. Read a 3 byte int from a ByteBuffer
  26. Reads an array of bytes from the given ByteBuffer
  27. Read an unsigned byte from a ByteBuffer
  28. Read an unsigned short from a ByteBuffer
  29. Read an unsigned variable length int from a ByteBuffer
  30. Reads an UTF8 string from a byte buffer.
  31. Reads an integer written into the byte buffer as one of various bit sizes.
  32. read U32 from ByteBuffer
  33. Read File to ByteBuffer