Package | Description |
---|---|
org.jboss.marshalling |
The marshalling API.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Unmarshaller
An unmarshaller which reads objects from a stream.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractObjectInput
An abstract object input implementation.
|
class |
AbstractUnmarshaller
An abstract implementation of the
Unmarshaller interface. |
class |
ByteBufferInput
An
InputStream which implements ByteInput and reads bytes from a ByteBuffer . |
class |
ByteInputStream
An
InputStream which implements ByteInput and reads bytes from another ByteInput . |
class |
InputStreamByteInput
An
InputStream implementing ByteInput which reads input from another InputStream . |
class |
LimitedByteInput
A limited byte input stream.
|
class |
MarshallerObjectInputStream
A marshaller's object input stream.
|
class |
ObjectInputStreamUnmarshaller
An Unmarshaller which simply wraps an object stream.
|
class |
SimpleByteInput
A simple byte input which extends
InputStream . |
class |
SimpleDataInput
|
Modifier and Type | Field and Description |
---|---|
protected ByteInput |
ByteInputStream.byteInput |
Modifier and Type | Method and Description |
---|---|
static ByteInput |
Marshalling.createByteInput(ByteBuffer buffer)
Create a
ByteInput wrapper for a ByteBuffer . |
static ByteInput |
Marshalling.createByteInput(InputStream inputStream)
Create a
ByteInput wrapper for an InputStream . |
ByteInput |
BytePipe.getInput()
Get the input side of this pipe.
|
Modifier and Type | Method and Description |
---|---|
static InputStream |
Marshalling.createInputStream(ByteInput byteInput)
Create an
InputStream wrapper for a ByteInput . |
static void |
Marshalling.readFully(ByteInput input,
byte[] dest)
Read bytes from a
ByteInput . |
static void |
Marshalling.readFully(ByteInput input,
byte[] dest,
int offs,
int len)
Read bytes from a
ByteInput . |
void |
StreamHeader.readHeader(ByteInput input)
Read the stream header from the stream.
|
static String |
UTFUtils.readUTFBytes(ByteInput input,
int len)
Read the given number of characters from the given byte input.
|
static String |
UTFUtils.readUTFBytesByByteCount(ByteInput input,
long len)
Read the given number of characters from the given byte input.
|
static String |
UTFUtils.readUTFZBytes(ByteInput input)
Read a null-terminated modified UTF-8 string from the given byte input.
|
void |
Unmarshaller.start(ByteInput newInput)
Begin unmarshalling from a stream.
|
protected void |
SimpleDataInput.start(ByteInput byteInput)
Start reading from the given input.
|
void |
ObjectInputStreamUnmarshaller.start(ByteInput newInput)
Begin unmarshalling from a stream.
|
void |
AbstractUnmarshaller.start(ByteInput byteInput)
Start reading from the given input.
|
Constructor and Description |
---|
ByteInputStream(ByteInput byteInput)
Create a new instance.
|
LimitedByteInput(ByteInput byteInput,
long limit)
Create a new instance.
|
SimpleDataInput(ByteInput byteInput)
Construct a new instance.
|
SimpleDataInput(int bufferSize,
ByteInput byteInput)
Construct a new instance.
|
UnmarshallingObjectInputStream(Unmarshaller unmarshaller,
ByteInput byteInput)
Construct a new instance which delegates to the given unmarshaller, reading from the given input.
|
Copyright © 2018 JBoss by Red Hat. All rights reserved.