Uses of Interface
com.tangosol.util.ByteSequence
Package
Description
The base package provides a number of classes to complement those in the java.lang package.
Contains classes providing cache persistence of serialized objects.
Contains classes related to J2SE 1.4 NIO functionality.
Contains various generic utilities.
-
Uses of ByteSequence in com.oracle.coherence.common.base
Modifier and TypeMethodDescriptionstatic int
Formatting.toCrc
(ByteSequence seq) Calculate a CRC32 value from a ByteSequence.static int
Formatting.toCrc
(ByteSequence seq, int of, int cb, int nCrc) Continue to calculate a CRC32 value from a portion of a ByteSequence .static String
Formatting.toHexEscape
(ByteSequence seq, int of, int cb) Convert a ByteSequence to a hex sequence of '0' + 'x' + 2 hex digits per byte. -
Uses of ByteSequence in com.tangosol.io
Modifier and TypeInterfaceDescriptioninterface
The ReadBuffer interface represents an in-memory block of binary data, such as that represented by a byte[], a Binary object, or an NIO buffer.Modifier and TypeClassDescriptionclass
The AbstractByteArrayReadBuffer abstract class is intended to serve as a base class for the following: the pre-existing Binary class a new byte[] based class that does not attempt to add the immutability aspect provided by the Binary class a new ByteBuffer based class that will work with Java NIOclass
Abstract base implementation of the ReadBuffer interface.class
A ReadBuffer on top of a byte array.class
The MultiBufferReadBuffer is a ReadBuffer implementation that presents a view across any number of underlying ReadBuffer objects, as if they were appended end-to-end into a single ReadBuffer.Modifier and TypeMethodDescriptionAbstractReadBuffer.subSequence
(int ofStart, int ofEnd) Returns a newByteSequence
that is a subsequence of this sequence.ReadBuffer.subSequence
(int ofStart, int ofEnd) Returns a newByteSequence
that is a subsequence of this sequence.Modifier and TypeMethodDescriptionstatic int
AbstractReadBuffer.readPackedInt
(ByteSequence bin, int of) Read an int value using a variable-length storage format as described byWriteBuffer.BufferOutput.writePackedInt(int)
from the givenByteSequence
and offset.static int
AbstractReadBuffer.readUnsignedByte
(ByteSequence bin, int of) Read an unsigned byte value from the givenByteSequence
and offset. -
Uses of ByteSequence in com.tangosol.io.nio
Modifier and TypeClassDescriptionclass
A ReadBuffer implementation on top of a Java NIO ByteBuffer. -
Uses of ByteSequence in com.tangosol.util
Modifier and TypeClassDescriptionclass
A simple base class for ByteSequence implementations.static class
A naive ByteSequence that glues two ByteSequence instances together.static class
A naive ByteSequence that represents a portion of another ByteSequence.final class
A thread-safe immutable binary object.static class
DecoratedMultiBufferReadBuffer is a MultiBufferWriteBuffer that represents a binary "decorated" value, and allows a more optimizedExternalizableHelper.getUndecorated(ReadBuffer)
operation.Modifier and TypeMethodDescriptionAbstractByteSequence.AggregateByteSequence.subSequence
(int ofStart, int ofEnd) Returns a newByteSequence
that is a subsequence of this sequence.AbstractByteSequence.subSequence
(int ofStart, int ofEnd) Returns a newByteSequence
that is a subsequence of this sequence.ByteSequence.subSequence
(int ofStart, int ofEnd) Returns a newByteSequence
that is a subsequence of this sequence.Modifier and TypeMethodDescriptionstatic boolean
ExternalizableHelper.isIntDecorated
(ByteSequence buf) Check whether or not the specified ByteSequence is a representation of an IntDecoratedObject.static int
Base.toCrc
(ByteSequence seq) Calculate a CRC32 value from a ByteSequence.static int
Base.toCrc
(ByteSequence seq, int of, int cb, int nCrc) Continue to calculate a CRC32 value from a portion of a ByteSequence .static String
Base.toHexEscape
(ByteSequence seq, int of, int cb) Convert a ByteSequence to a hex sequence of '0' + 'x' + 2 hex digits per byte.ModifierConstructorDescriptionAggregateByteSequence
(ByteSequence seqFirst, ByteSequence seqSecond) Construct an AggregateByteSequence from two ByteSequence objects.PartialByteSequence
(ByteSequence seq, int of, int cb) Construct a PartialByteSequence from a ByteSequence.