public final class StreamUtils extends Object
Constructor and Description |
---|
StreamUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
readFully(InputStream is,
byte[] bytes) |
static void |
readFully(InputStream is,
byte[] bytes,
int off,
int len) |
static int |
readInt16BE(InputStream is) |
static int |
readInt16LE(InputStream is) |
static int |
readInt24BE(InputStream is) |
static int |
readInt24LE(InputStream is) |
static int |
readInt32BE(InputStream is) |
static int |
readInt32LE(InputStream is) |
static int |
readInt8(InputStream is) |
static int |
readPackedSignedInt32(InputStream is) |
static int |
readPackedUnsignedInt31(InputStream is) |
static int |
readPackedUnsignedInt32(InputStream is) |
static void |
skipBytes(InputStream is,
long skip) |
static void |
writeInt16BE(OutputStream os,
int val) |
static void |
writeInt16BE(OutputStream os,
long val) |
static void |
writeInt16LE(OutputStream os,
int val) |
static void |
writeInt16LE(OutputStream os,
long val) |
static void |
writeInt24BE(OutputStream os,
int val) |
static void |
writeInt24BE(OutputStream os,
long val) |
static void |
writeInt24LE(OutputStream os,
int val) |
static void |
writeInt24LE(OutputStream os,
long val) |
static void |
writeInt32BE(OutputStream os,
int val) |
static void |
writeInt32BE(OutputStream os,
long val) |
static void |
writeInt32LE(OutputStream os,
int val) |
static void |
writeInt32LE(OutputStream os,
long val) |
static void |
writeInt8(OutputStream os,
int val) |
static void |
writeInt8(OutputStream os,
long val) |
static void |
writePackedUnsignedInt31(OutputStream os,
int val) |
static void |
writePackedUnsignedInt32(OutputStream os,
int val) |
public static int readInt8(InputStream is) throws IOException
IOException
public static int readInt16LE(InputStream is) throws IOException
IOException
public static int readInt16BE(InputStream is) throws IOException
IOException
public static int readInt24LE(InputStream is) throws IOException
IOException
public static int readInt24BE(InputStream is) throws IOException
IOException
public static int readInt32LE(InputStream is) throws IOException
IOException
public static int readInt32BE(InputStream is) throws IOException
IOException
public static void skipBytes(InputStream is, long skip) throws IOException
IOException
public static int readPackedUnsignedInt31(InputStream is) throws IOException
IOException
public static int readPackedUnsignedInt32(InputStream is) throws IOException
IOException
public static int readPackedSignedInt32(InputStream is) throws IOException
IOException
public static void writeInt8(OutputStream os, int val) throws IOException
IOException
public static void writeInt8(OutputStream os, long val) throws IOException
IOException
public static void writeInt16LE(OutputStream os, int val) throws IOException
IOException
public static void writeInt16LE(OutputStream os, long val) throws IOException
IOException
public static void writeInt16BE(OutputStream os, int val) throws IOException
IOException
public static void writeInt16BE(OutputStream os, long val) throws IOException
IOException
public static void writeInt24LE(OutputStream os, int val) throws IOException
IOException
public static void writeInt24LE(OutputStream os, long val) throws IOException
IOException
public static void writeInt24BE(OutputStream os, int val) throws IOException
IOException
public static void writeInt24BE(OutputStream os, long val) throws IOException
IOException
public static void writeInt32LE(OutputStream os, int val) throws IOException
IOException
public static void writeInt32LE(OutputStream os, long val) throws IOException
IOException
public static void writeInt32BE(OutputStream os, int val) throws IOException
IOException
public static void writeInt32BE(OutputStream os, long val) throws IOException
IOException
public static void writePackedUnsignedInt31(OutputStream os, int val) throws IOException
IOException
public static void writePackedUnsignedInt32(OutputStream os, int val) throws IOException
IOException
public static void readFully(InputStream is, byte[] bytes) throws IOException
IOException
public static void readFully(InputStream is, byte[] bytes, int off, int len) throws IOException
IOException
Copyright © 2019 JBoss by Red Hat. All rights reserved.