public abstract class AbstractEncodedMessages extends Object implements EncodedMessage
| Constructor and Description |
|---|
AbstractEncodedMessages() |
| Modifier and Type | Method and Description |
|---|---|
long |
extractBits(int n)
Extract the next n bits from the encoded message.
|
protected abstract int |
fetchByte()
Fetch the next byte from the message.
|
void |
start()
Start message extraction.
|
public void start()
start in interface EncodedMessageprotected abstract int fetchByte()
public long extractBits(int n)
extractBits in interface EncodedMessagen - number of bits to extract (cannot exceed 32 bits)Copyright © 2002-2022 CS GROUP. All rights reserved.