Uses of Interface
com.tangosol.util.ByteSequence
-
Packages that use ByteSequence Package Description com.oracle.coherence.common.base The base package provides a number of classes to complement those in the java.lang package.com.tangosol.io Contains classes providing cache persistence of serialized objects.com.tangosol.io.nio Contains classes related to J2SE 1.4 NIO functionality.com.tangosol.util Contains various generic utilities. -
-
Uses of ByteSequence in com.oracle.coherence.common.base
Methods in com.oracle.coherence.common.base with parameters of type ByteSequence Modifier and Type Method Description static 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
Subinterfaces of ByteSequence in com.tangosol.io Modifier and Type Interface Description interface
ReadBuffer
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.Classes in com.tangosol.io that implement ByteSequence Modifier and Type Class Description class
AbstractByteArrayReadBuffer
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
AbstractReadBuffer
Abstract base implementation of the ReadBuffer interface.class
ByteArrayReadBuffer
A ReadBuffer on top of a byte array.class
MultiBufferReadBuffer
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.Methods in com.tangosol.io that return ByteSequence Modifier and Type Method Description ByteSequence
AbstractReadBuffer. subSequence(int ofStart, int ofEnd)
Returns a newByteSequence
that is a subsequence of this sequence.ByteSequence
ReadBuffer. subSequence(int ofStart, int ofEnd)
Returns a newByteSequence
that is a subsequence of this sequence.Methods in com.tangosol.io with parameters of type ByteSequence Modifier and Type Method Description static 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
Classes in com.tangosol.io.nio that implement ByteSequence Modifier and Type Class Description class
ByteBufferReadBuffer
A ReadBuffer implementation on top of a Java NIO ByteBuffer. -
Uses of ByteSequence in com.tangosol.util
Classes in com.tangosol.util that implement ByteSequence Modifier and Type Class Description class
AbstractByteSequence
A simple base class for ByteSequence implementations.static class
AbstractByteSequence.AggregateByteSequence
A naive ByteSequence that glues two ByteSequence instances together.static class
AbstractByteSequence.PartialByteSequence
A naive ByteSequence that represents a portion of another ByteSequence.class
Binary
A thread-safe immutable binary object.static class
ExternalizableHelper.DecoratedMultiBufferReadBuffer
DecoratedMultiBufferReadBuffer is a MultiBufferWriteBuffer that represents a binary "decorated" value, and allows a more optimizedExternalizableHelper.getUndecorated(ReadBuffer)
operation.Methods in com.tangosol.util that return ByteSequence Modifier and Type Method Description ByteSequence
AbstractByteSequence.AggregateByteSequence. subSequence(int ofStart, int ofEnd)
Returns a newByteSequence
that is a subsequence of this sequence.ByteSequence
AbstractByteSequence. subSequence(int ofStart, int ofEnd)
Returns a newByteSequence
that is a subsequence of this sequence.ByteSequence
ByteSequence. subSequence(int ofStart, int ofEnd)
Returns a newByteSequence
that is a subsequence of this sequence.Methods in com.tangosol.util with parameters of type ByteSequence Modifier and Type Method Description static 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.Constructors in com.tangosol.util with parameters of type ByteSequence Constructor Description AggregateByteSequence(ByteSequence seqFirst, ByteSequence seqSecond)
Construct an AggregateByteSequence from two ByteSequence objects.PartialByteSequence(ByteSequence seq, int of, int cb)
Construct a PartialByteSequence from a ByteSequence.
-