Java Tutorial Byte Array

Append

  1. Append byte array to a file using FileOutputStream in Java

Checksum

  1. Calculate the Checksum of a Byte Array (Compute Adler-32 checksum) in Java

Compress

  1. Compress a Byte Array in Java
  2. Decompress a Byte Array in Java

Read

  1. Create a ByteArrayInputStream implementation that does not synchronize methods in Java
  2. Read and return the entire contents of the supplied file in Java
  3. Read at most certain bytes from input stream and return them as a byte array in Java
  4. Read byte array from InputStream in Java
  5. Read byte array from a file using DataInputStream in Java
  6. Read file as bytes in Java
  7. Read file full content to a byte array with RandomAccessFile in Java
  8. Read int from byte array in Java
  9. Read stream to byte array in Java
  10. Read the entire contents of a file into a byte array in Java
  11. Read all file content to a byte array with java.nio.file.Files in Java

Write

  1. Save string to byte array and read back in Java
  2. Save the bytes to a file in Java
  3. Write Byte array to a file in Java
  4. Write byte array to a file using FileOutputStream in Java
  5. Write byte array to file using BufferedOutputStream in Java
  6. Write byte array to a file with FileChannel from RandomAccessFile in Java

Create

  1. Create a new file and save byte array with java.nio.file.Files 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