| Modifier and Type | Field and Description |
|---|---|
| pack-priv static int | |
| pack-priv static int | |
| pack-priv static int | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static int | Returns: length calculation or MAX_VALUE.input stream of interest in)Find out possible longest length, capped by available memory. |
| pack-priv static int | |
| pack-priv static int | |
| pack-priv static long | |
| pack-priv static int | readBodyLen(InputStream in, boolean[] flags)
Note flags is an array of three boolean values: flags[0] indicates l is negative, flag for eof flags[1] indicates (is)longLength = true flags[2] indicate partial = true |
| pack-priv static long | |
| pack-priv static long | |
| pack-priv static long | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void |
| flag_eof | back to summary |
|---|---|
| pack-priv static int flag_eof | |
| flag_isLongLength | back to summary |
|---|---|
| pack-priv static int flag_isLongLength | |
| flag_partial | back to summary |
|---|---|
| pack-priv static int flag_partial | |
| MAX_MEMORY | back to summary |
|---|---|
| private static final long MAX_MEMORY | |
| StreamUtil | back to summary |
|---|---|
| pack-priv StreamUtil() | |
| findLimit | back to summary |
|---|---|
| pack-priv static int findLimit(InputStream in) Find out possible longest length, capped by available memory.
| |
| read2OctetLength | back to summary |
|---|---|
| pack-priv static int read2OctetLength(InputStream in) throws IOException | |
| read4OctetLength | back to summary |
|---|---|
| pack-priv static int read4OctetLength(InputStream in) throws IOException | |
| read8OctetLength | back to summary |
|---|---|
| pack-priv static long read8OctetLength(InputStream in) throws IOException | |
| readBodyLen | back to summary |
|---|---|
| pack-priv static int readBodyLen(InputStream in, boolean[] flags) throws IOException Note flags is an array of three boolean values: flags[0] indicates l is negative, flag for eof flags[1] indicates (is)longLength = true flags[2] indicate partial = true | |
| readKeyID | back to summary |
|---|---|
| pack-priv static long readKeyID(BCPGInputStream in) throws IOException | |
| readSeconds | back to summary |
|---|---|
| pack-priv static long readSeconds(BCPGInputStream in) throws IOException | |
| readTime | back to summary |
|---|---|
| pack-priv static long readTime(BCPGInputStream in) throws IOException | |
| write2OctetLength | back to summary |
|---|---|
| pack-priv static void write2OctetLength(OutputStream pOut, int len) throws IOException | |
| write4OctetLength | back to summary |
|---|---|
| pack-priv static void write4OctetLength(OutputStream pOut, int len) throws IOException | |
| write8OctetLength | back to summary |
|---|---|
| pack-priv static void write8OctetLength(OutputStream pOut, long len) throws IOException | |
| writeBodyLen | back to summary |
|---|---|
| pack-priv static void writeBodyLen(OutputStream out, long bodyLen) throws IOException | |
| writeKeyID | back to summary |
|---|---|
| pack-priv static void writeKeyID(BCPGOutputStream pOut, long keyID) throws IOException | |
| writeNewPacketLength | back to summary |
|---|---|
| pack-priv static void writeNewPacketLength(OutputStream out, long bodyLen) throws IOException | |
| writeSeconds | back to summary |
|---|---|
| pack-priv static void writeSeconds(BCPGOutputStream pOut, long time) throws IOException | |
| writeTime | back to summary |
|---|---|
| pack-priv static void writeTime(BCPGOutputStream pOut, long time) throws IOException | |