public class DisabledBlockConverter extends java.lang.Object implements BlockConverter
| Constructor and Description |
|---|
DisabledBlockConverter() |
| Modifier and Type | Method and Description |
|---|---|
int |
blockAlignedBytes(int bytes) |
int |
blocksToBytes(int blocks) |
int |
bytesToBlocks(long bytes) |
Slot |
toBlockedLength(Slot slot) |
Slot |
toNonBlockedLength(Slot slot) |
public int blockAlignedBytes(int bytes)
blockAlignedBytes in interface BlockConverterpublic int blocksToBytes(int blocks)
blocksToBytes in interface BlockConverterpublic int bytesToBlocks(long bytes)
bytesToBlocks in interface BlockConverterpublic Slot toBlockedLength(Slot slot)
toBlockedLength in interface BlockConverterpublic Slot toNonBlockedLength(Slot slot)
toNonBlockedLength in interface BlockConverter