public class SliceParser extends Object
| Constructor and Description |
|---|
SliceParser() |
| Modifier and Type | Method and Description |
|---|---|
static byte |
consumeByte(InputStream messageInput) |
static long |
consumeCount(byte[] message) |
static long |
consumeCount(InputStream messageInput) |
static long |
consumeLong(InputStream messageInput) |
static Slice |
consumeParameter(byte[] message) |
static Slice |
consumeParameter(InputStream messageInput) |
static Slice |
consumeSlice(InputStream messageInput,
long len) |
static void |
expectByte(InputStream messageInput,
byte c) |
public static byte consumeByte(InputStream messageInput) throws EOFException
EOFExceptionpublic static void expectByte(InputStream messageInput, byte c) throws ParseErrorException, EOFException
ParseErrorExceptionEOFExceptionpublic static long consumeLong(InputStream messageInput) throws ParseErrorException
ParseErrorExceptionpublic static Slice consumeSlice(InputStream messageInput, long len) throws ParseErrorException
ParseErrorExceptionpublic static long consumeCount(InputStream messageInput) throws ParseErrorException
ParseErrorExceptionpublic static long consumeCount(byte[] message)
throws ParseErrorException
ParseErrorExceptionpublic static Slice consumeParameter(InputStream messageInput) throws ParseErrorException
ParseErrorExceptionpublic static Slice consumeParameter(byte[] message) throws ParseErrorException
ParseErrorExceptionCopyright © 2018. All rights reserved.