({{, (RefLink[Byte, paclet:ref/Byte])
represents a single byte of data in (RefLink[Read, paclet:ref/Read]). }})

OpenersPrimaryExamplesSection(Spacer1)Examples  (1)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

Create a file with a sequence of bytes:

file =FileNameJoin[{$TemporaryDirectory,"test1"}];

BinaryWrite[file, {8,97,255}];

Close[file];

Read each byte in the file:

Read[file,Byte]

Read[file,Byte]

Read[file,Byte]

Close the file:

Close[file];

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[BinaryRead, paclet:ref/BinaryRead])  ▪  (RefLink[BinaryWrite, paclet:ref/BinaryWrite])  ▪  (RefLink[Character, paclet:ref/Character])}})}})

({{DocumentationFooterIconsRelatedTutorial.png, ({{Tutorials}, {▪(RefLinkPlain[Reading Textual Data, paclet:tutorial/ReadingTextualData])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Low-Level File Operations, paclet:guide/LowLevelFileOperations])}})}})