pl.edu.pjwstk.yaod.store.defaultstore.blocks
Class BlockBody
java.lang.Object
|
+--pl.edu.pjwstk.yaod.store.defaultstore.blocks.BlockSection
|
+--pl.edu.pjwstk.yaod.store.defaultstore.blocks.BlockBody
- public class BlockBody
- extends BlockSection
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlockBody
public BlockBody(int size)
BlockBody
public BlockBody(byte[] body)
getSize
public short getSize()
- Overrides:
getSize
in class BlockSection
getParentSection
public BlockSection getParentSection()
- Overrides:
getParentSection
in class BlockSection
move
public void move(short start,
short val,
short len)
put
public void put(byte[] buf,
short offset)
get
public void get(byte[] buf,
short offset,
short length)
get
public byte[] get(short offset,
short length)
getShort
public short getShort(short offset)
putShort
public void putShort(short value,
short offset)
getInt
public int getInt(short offset)
putInt
public void putInt(int value,
short offset)
toByteArray
public byte[] toByteArray()