<<< DataInputStream example: two ways to read a binary string | Index | StandardOpenOption constants >>> |
The Files.newOutputStream() method
creates a writeable file if it does not already exist
opens the file for writing
returns an OutputStream that can be used to write bytes to the file
newOutputStream() arguments
Path
StandardOpenOption constant (see next slide)
<<< DataInputStream example: two ways to read a binary string | Index | StandardOpenOption constants >>> |