Interface NibbleDiskCodec
- All Superinterfaces:
CapabilityProvider
- All Known Implementing Classes:
Nibble53Disk525Codec, Nibble62Disk525Codec
Interface for the disk nibbilization routines.
-
Method Summary
Modifier and TypeMethodDescriptiondecode(DataBuffer rawData) Decode the buffer from the raw disk bytes to actual data.intNumber of bytes in the decoded buffer.encode(DataBuffer data) Encode the data buffer into disk bytes.intNumber of bytes in the raw (encoded) buffer.int[]The read translation table.int[]The write translation table.Methods inherited from interface CapabilityProvider
can
-
Method Details
-
encodedSize
int encodedSize()Number of bytes in the raw (encoded) buffer. -
decodedSize
int decodedSize()Number of bytes in the decoded buffer. For Disk II devices, this is 256 bytes. -
decode
Decode the buffer from the raw disk bytes to actual data. -
encode
Encode the data buffer into disk bytes. -
readTranslateTable
int[] readTranslateTable()The read translation table. -
writeTranslateTable
int[] writeTranslateTable()The write translation table.
-