![]() |
Quadcap Embeddable Database |
Definition at line 47 of file ByteUtil.java.
Static Public Member Functions | |
| final short | getShort (byte[] buf, int pos) |
| Get the two-byte short stored at the specified location in the buffer. | |
| final void | putShort (byte[] buf, int pos, short val) |
| Write an short value as two bytes (MSB first) into the buffer. | |
| final int | getInt (byte[] buf, int pos) |
| Get the four-byte integer stored at the specified location in the buffer. | |
| final void | putInt (byte[] buf, int pos, int val) |
| Write an integer value as four bytes (MSB first) into the buffer. | |
| final long | getLong (byte[] buf, int pos) |
| Get the eight-byte long stored at the specified location in the buffer. | |
| final void | putLong (byte[] buf, int pos, long val) |
| Write an long value as eight bytes (MSB first) into the buffer. | |
|
||||||||||||
|
Get the four-byte integer stored at the specified location in the buffer.
Definition at line 78 of file ByteUtil.java. References com.quadcap.sql.file.ByteUtil.getInt(). Referenced by com.quadcap.sql.file.ByteUtil.getInt(). |
|
||||||||||||
|
Get the eight-byte long stored at the specified location in the buffer.
Definition at line 107 of file ByteUtil.java. References com.quadcap.sql.file.ByteUtil.getLong(). Referenced by com.quadcap.sql.file.ByteUtil.getLong(). |
|
||||||||||||
|
Get the two-byte short stored at the specified location in the buffer.
Definition at line 55 of file ByteUtil.java. References com.quadcap.sql.file.ByteUtil.getShort(). Referenced by com.quadcap.sql.file.ByteUtil.getShort(). |
|
||||||||||||||||
|
Write an integer value as four bytes (MSB first) into the buffer.
Definition at line 93 of file ByteUtil.java. References com.quadcap.sql.file.ByteUtil.putInt(). Referenced by com.quadcap.sql.file.ByteUtil.putInt(). |
|
||||||||||||||||
|
Write an long value as eight bytes (MSB first) into the buffer.
Definition at line 126 of file ByteUtil.java. References com.quadcap.sql.file.ByteUtil.putLong(). Referenced by com.quadcap.sql.file.ByteUtil.putLong(). |
|
||||||||||||||||
|
Write an short value as two bytes (MSB first) into the buffer.
Definition at line 66 of file ByteUtil.java. References com.quadcap.sql.file.ByteUtil.putShort(). Referenced by com.quadcap.sql.file.ByteUtil.putShort(). |