blockBytes, rb, rootJidBytes| Constructor and Description |
|---|
LTA32Block() |
| Modifier and Type | Method and Description |
|---|---|
int |
headerLength()
The length of the header which prefaces the actual data on disk.
|
protected void |
saveHeader(org.agilewiki.jid.AppendableBytes ab,
int l)
Provides the raw header information to be written to disk.
|
int |
setHeaderBytes(byte[] bytes)
Provides the raw header information read from disk.
|
boolean |
setRootJidBytes(byte[] bytesRead)
Provides the data read from disk after the header.
|
getTimestamp, setRootJid, setTimestampgetCurrentPosition, getFileName, getRootJid, getRootJid, isEmpty, serialize, setCurrentPosition, setFileNamepublic int headerLength()
headerLength in interface BlockheaderLength in class LTBlockprotected void saveHeader(org.agilewiki.jid.AppendableBytes ab,
int l)
throws Exception
saveHeader in class LTBlockab - Append the data to this.l - The length of the data.Exceptionpublic int setHeaderBytes(byte[] bytes)
setHeaderBytes in interface BlocksetHeaderBytes in class LTBlockbytes - The header bytes read from disk.public boolean setRootJidBytes(byte[] bytesRead)
setRootJidBytes in interface BlocksetRootJidBytes in class LBlockbytesRead - The data following the header on disk.Copyright © 2013. All Rights Reserved.