net.jinx.db.record
Interface RawBlob
- All Known Subinterfaces:
- Blob
- All Known Implementing Classes:
- RawFileBlob
public interface RawBlob
Method Summary |
void |
getBytes(long position,
byte[] b)
|
void |
getBytes(long position,
byte[] b,
int offset,
int length)
|
long |
getSize()
|
void |
putBytes(long position,
byte[] b)
|
void |
putBytes(long position,
byte[] b,
int offset,
int length)
|
void |
setSize(long size)
|
getBytes
void getBytes(long position,
byte[] b)
throws java.io.IOException
- Throws:
java.io.IOException
getBytes
void getBytes(long position,
byte[] b,
int offset,
int length)
throws java.io.IOException
- Throws:
java.lang.IllegalArgumentException
- if (position < 0 || position >=
getSize() || position + length > getSize()).
java.io.IOException
putBytes
void putBytes(long position,
byte[] b)
throws java.io.IOException
- Throws:
java.io.IOException
putBytes
void putBytes(long position,
byte[] b,
int offset,
int length)
throws java.io.IOException
- Throws:
java.io.IOException
getSize
long getSize()
throws java.io.IOException
- Throws:
java.io.IOException
setSize
void setSize(long size)
throws java.io.IOException
- Throws:
java.io.IOException