public class DsdChunk extends Object
Modifier and Type | Field and Description |
---|---|
static int |
CHUNKSIZE_LENGTH |
static int |
DSD_HEADER_LENGTH |
static int |
FILESIZE_LENGTH |
static int |
FMT_CHUNK_MIN_DATA_SIZE_ |
static int |
METADATA_OFFSET_LENGTH |
Modifier and Type | Method and Description |
---|---|
long |
getChunkSizeLength() |
long |
getFileLength() |
long |
getMetadataOffset() |
static DsdChunk |
readChunk(ByteBuffer dataBuffer) |
void |
setChunkSizeLength(long chunkSizeLength) |
void |
setFileLength(long fileLength) |
void |
setMetadataOffset(long metadataOffset) |
String |
toString() |
ByteBuffer |
write()
Write new DSDchunk to buffer
|
public static final int CHUNKSIZE_LENGTH
public static final int FILESIZE_LENGTH
public static final int METADATA_OFFSET_LENGTH
public static final int FMT_CHUNK_MIN_DATA_SIZE_
public static final int DSD_HEADER_LENGTH
public static DsdChunk readChunk(ByteBuffer dataBuffer)
public long getChunkSizeLength()
public void setChunkSizeLength(long chunkSizeLength)
public long getFileLength()
public void setFileLength(long fileLength)
public long getMetadataOffset()
public void setMetadataOffset(long metadataOffset)
public ByteBuffer write()
Copyright © 2005–2020 jthink.net. All rights reserved.