Skip navigation links
A B C D E F G H I L M N O P R S T U W X 

A

allocate(int) - Static method in class com.facebook.slice.Slices
 
allocateDirect(int) - Static method in class com.facebook.slice.Slices
 
appendByte(int) - Method in class com.facebook.slice.BasicSliceOutput
 
appendByte(int) - Method in class com.facebook.slice.DynamicSliceOutput
 
appendByte(int) - Method in class com.facebook.slice.OutputStreamSliceOutput
 
appendByte(int) - Method in class com.facebook.slice.SliceOutput
 
appendBytes(byte[], int, int) - Method in class com.facebook.slice.BasicSliceOutput
 
appendBytes(byte[]) - Method in class com.facebook.slice.BasicSliceOutput
 
appendBytes(Slice) - Method in class com.facebook.slice.BasicSliceOutput
 
appendBytes(byte[], int, int) - Method in class com.facebook.slice.DynamicSliceOutput
 
appendBytes(byte[]) - Method in class com.facebook.slice.DynamicSliceOutput
 
appendBytes(Slice) - Method in class com.facebook.slice.DynamicSliceOutput
 
appendBytes(byte[], int, int) - Method in class com.facebook.slice.OutputStreamSliceOutput
 
appendBytes(byte[]) - Method in class com.facebook.slice.OutputStreamSliceOutput
 
appendBytes(Slice) - Method in class com.facebook.slice.OutputStreamSliceOutput
 
appendBytes(byte[], int, int) - Method in class com.facebook.slice.SliceOutput
 
appendBytes(byte[]) - Method in class com.facebook.slice.SliceOutput
 
appendBytes(Slice) - Method in class com.facebook.slice.SliceOutput
 
appendDouble(double) - Method in class com.facebook.slice.BasicSliceOutput
 
appendDouble(double) - Method in class com.facebook.slice.DynamicSliceOutput
 
appendDouble(double) - Method in class com.facebook.slice.OutputStreamSliceOutput
 
appendDouble(double) - Method in class com.facebook.slice.SliceOutput
 
appendInt(int) - Method in class com.facebook.slice.BasicSliceOutput
 
appendInt(int) - Method in class com.facebook.slice.DynamicSliceOutput
 
appendInt(int) - Method in class com.facebook.slice.OutputStreamSliceOutput
 
appendInt(int) - Method in class com.facebook.slice.SliceOutput
 
appendLong(long) - Method in class com.facebook.slice.BasicSliceOutput
 
appendLong(long) - Method in class com.facebook.slice.DynamicSliceOutput
 
appendLong(long) - Method in class com.facebook.slice.OutputStreamSliceOutput
 
appendLong(long) - Method in class com.facebook.slice.SliceOutput
 
appendShort(int) - Method in class com.facebook.slice.BasicSliceOutput
 
appendShort(int) - Method in class com.facebook.slice.DynamicSliceOutput
 
appendShort(int) - Method in class com.facebook.slice.OutputStreamSliceOutput
 
appendShort(int) - Method in class com.facebook.slice.SliceOutput
 
assertSlicesEqual(Slice, Slice) - Static method in class com.facebook.slice.testing.SliceAssertions
 
available() - Method in class com.facebook.slice.BasicSliceInput
 
available() - Method in class com.facebook.slice.ChunkedSliceInput
 
available() - Method in class com.facebook.slice.InputStreamSliceInput
 
available() - Method in class com.facebook.slice.SliceInput
Returns the number of bytes that can be read without blocking.

B

BasicSliceInput - Class in com.facebook.slice
 
BasicSliceInput(Slice) - Constructor for class com.facebook.slice.BasicSliceInput
 
BasicSliceOutput - Class in com.facebook.slice
 
BasicSliceOutput(Slice) - Constructor for class com.facebook.slice.BasicSliceOutput
 
byteArray() - Method in class com.facebook.slice.Slice
Returns the byte array wrapped by this Slice, if any.
byteArrayOffset() - Method in class com.facebook.slice.Slice
Returns the start index the content of this slice within the byte array wrapped by this slice.
ByteArrays - Class in com.facebook.slice
 

C

ChunkedSliceInput - Class in com.facebook.slice
 
ChunkedSliceInput(ChunkedSliceInput.SliceLoader<?>, int) - Constructor for class com.facebook.slice.ChunkedSliceInput
 
ChunkedSliceInput.BufferReference - Interface in com.facebook.slice
 
ChunkedSliceInput.SliceLoader<B extends ChunkedSliceInput.BufferReference> - Interface in com.facebook.slice
 
clear() - Method in class com.facebook.slice.Slice
Fill the slice with zeros;
clear(int, int) - Method in class com.facebook.slice.Slice
 
close() - Method in class com.facebook.slice.ChunkedSliceInput
 
close() - Method in interface com.facebook.slice.ChunkedSliceInput.SliceLoader
 
close() - Method in class com.facebook.slice.InputStreamSliceInput
 
close() - Method in class com.facebook.slice.OutputStreamSliceOutput
 
close() - Method in class com.facebook.slice.SliceInput
 
codePointToUtf8(int) - Static method in class com.facebook.slice.SliceUtf8
Convert the code point to UTF-8.
com.facebook.slice - package com.facebook.slice
 
com.facebook.slice.testing - package com.facebook.slice.testing
 
compareTo(Slice) - Method in class com.facebook.slice.Slice
Compares the content of the specified buffer to the content of this buffer.
compareTo(int, int, Slice, int, int) - Method in class com.facebook.slice.Slice
Compares a portion of this slice with a portion of the specified slice.
compareUtf16BE(Slice, Slice) - Static method in class com.facebook.slice.SliceUtf8
Compares to UTF-8 sequences using UTF-16 big endian semantics.
copiedBuffer(String, Charset) - Static method in class com.facebook.slice.Slices
 
copyOf(Slice) - Static method in class com.facebook.slice.Slices
 
copyOf(Slice, int, int) - Static method in class com.facebook.slice.Slices
 
copySlice() - Method in class com.facebook.slice.DynamicSliceOutput
 
countCodePoints(Slice) - Static method in class com.facebook.slice.SliceUtf8
Counts the code points within UTF-8 encoded slice.
countCodePoints(Slice, int, int) - Static method in class com.facebook.slice.SliceUtf8
Counts the code points within UTF-8 encoded slice up to length.
createBuffer(int) - Method in interface com.facebook.slice.ChunkedSliceInput.SliceLoader
 

D

DynamicSliceOutput - Class in com.facebook.slice
 
DynamicSliceOutput(int) - Constructor for class com.facebook.slice.DynamicSliceOutput
 

E

EMPTY_SLICE - Static variable in class com.facebook.slice.Slices
A slice with size 0.
ensureAvailable(int) - Method in class com.facebook.slice.ChunkedSliceInput
 
ensureSize(Slice, int) - Static method in class com.facebook.slice.Slices
 
equals(Object) - Method in class com.facebook.slice.Slice
Compares the specified object with this slice for equality.
equals(int, int, Slice, int, int) - Method in class com.facebook.slice.Slice
Compares a portion of this slice with a portion of the specified slice.

F

fill(byte) - Method in class com.facebook.slice.Slice
Fill the slice with the specified value;
FixedLengthSliceInput - Class in com.facebook.slice
 
FixedLengthSliceInput() - Constructor for class com.facebook.slice.FixedLengthSliceInput
 
fixInvalidUtf8(Slice) - Static method in class com.facebook.slice.SliceUtf8
 
fixInvalidUtf8(Slice, OptionalInt) - Static method in class com.facebook.slice.SliceUtf8
 
flush() - Method in class com.facebook.slice.OutputStreamSliceOutput
 
FnvHash - Class in com.facebook.slice
Reference implementation: https://tools.ietf.org/html/draft-eastlake-fnv-17#section-6

G

getAddress() - Method in class com.facebook.slice.Slice
Return the address offset of this Slice.
getBase() - Method in class com.facebook.slice.Slice
Returns the base object of this Slice, or null.
getByte(int) - Method in class com.facebook.slice.Slice
Gets a byte at the specified absolute index in this buffer.
getBytes(int, Slice) - Method in class com.facebook.slice.Slice
Transfers portion of data from this slice into the specified destination starting at the specified absolute index.
getBytes(int, Slice, int, int) - Method in class com.facebook.slice.Slice
Transfers portion of data from this slice into the specified destination starting at the specified absolute index.
getBytes(int, byte[]) - Method in class com.facebook.slice.Slice
Transfers portion of data from this slice into the specified destination starting at the specified absolute index.
getBytes(int, byte[], int, int) - Method in class com.facebook.slice.Slice
Transfers portion of data from this slice into the specified destination starting at the specified absolute index.
getBytes() - Method in class com.facebook.slice.Slice
Returns a copy of this buffer as a byte array.
getBytes(int, int) - Method in class com.facebook.slice.Slice
Returns a copy of this buffer as a byte array.
getBytes(int, OutputStream, int) - Method in class com.facebook.slice.Slice
Transfers a portion of data from this slice into the specified stream starting at the specified absolute index.
getByteUnchecked(Slice, int) - Static method in class com.facebook.slice.UnsafeSlice
 
getCodePoint() - Method in exception com.facebook.slice.InvalidCodePointException
 
getCodePointAt(Slice, int) - Static method in class com.facebook.slice.SliceUtf8
Gets the UTF-8 encoded code point at the position.
getCodePointBefore(Slice, int) - Static method in class com.facebook.slice.SliceUtf8
Gets the UTF-8 encoded code point before the position.
getDouble(byte[], int) - Static method in class com.facebook.slice.ByteArrays
 
getDouble(int) - Method in class com.facebook.slice.Slice
Gets a 64-bit double at the specified absolute index in this buffer.
getFloat(byte[], int) - Static method in class com.facebook.slice.ByteArrays
 
getFloat(int) - Method in class com.facebook.slice.Slice
Gets a 32-bit float at the specified absolute index in this buffer.
getInput() - Method in class com.facebook.slice.Slice
Creates a slice input backed by this slice.
getInstance() - Static method in class com.facebook.slice.UnsafeSliceFactory
Get a factory for creating "unsafe" slices that can reference arbitrary memory addresses.
getInt(byte[], int) - Static method in class com.facebook.slice.ByteArrays
 
getInt(int) - Method in class com.facebook.slice.Slice
Gets a 32-bit integer at the specified absolute index in this buffer.
getIntUnchecked(Slice, int) - Static method in class com.facebook.slice.UnsafeSlice
 
getLong(byte[], int) - Static method in class com.facebook.slice.ByteArrays
 
getLong(int) - Method in class com.facebook.slice.Slice
Gets a 64-bit long integer at the specified absolute index in this buffer.
getLongUnchecked(Slice, int) - Static method in class com.facebook.slice.UnsafeSlice
 
getOutput() - Method in class com.facebook.slice.Slice
Creates a slice output backed by this slice.
getRetainedSize() - Method in class com.facebook.slice.BasicSliceInput
 
getRetainedSize() - Method in class com.facebook.slice.BasicSliceOutput
 
getRetainedSize() - Method in class com.facebook.slice.ChunkedSliceInput
 
getRetainedSize() - Method in class com.facebook.slice.DynamicSliceOutput
 
getRetainedSize() - Method in class com.facebook.slice.InputStreamSliceInput
 
getRetainedSize() - Method in class com.facebook.slice.OutputStreamSliceOutput
 
getRetainedSize() - Method in class com.facebook.slice.Slice
Approximate number of bytes retained by this slice.
getRetainedSize() - Method in class com.facebook.slice.SliceInput
Approximate number of bytes retained by this instance.
getRetainedSize() - Method in class com.facebook.slice.SliceOutput
Approximate number of bytes retained by this.
getShort(byte[], int) - Static method in class com.facebook.slice.ByteArrays
 
getShort(int) - Method in class com.facebook.slice.Slice
Gets a 16-bit short integer at the specified absolute index in this slice.
getShortUnchecked(Slice, int) - Static method in class com.facebook.slice.UnsafeSlice
 
getSize() - Method in interface com.facebook.slice.ChunkedSliceInput.SliceLoader
 
getSlice() - Method in interface com.facebook.slice.ChunkedSliceInput.BufferReference
 
getUnderlyingSlice() - Method in class com.facebook.slice.BasicSliceOutput
 
getUnderlyingSlice() - Method in class com.facebook.slice.DynamicSliceOutput
 
getUnderlyingSlice() - Method in class com.facebook.slice.OutputStreamSliceOutput
 
getUnderlyingSlice() - Method in class com.facebook.slice.SliceOutput
Returns the raw underlying slice of this output stream.
getUnsignedByte(int) - Method in class com.facebook.slice.Slice
Gets an unsigned byte at the specified absolute index in this buffer.
getUnsignedInt(int) - Method in class com.facebook.slice.Slice
Gets an unsigned 32-bit integer at the specified absolute index in this buffer.
getUnsignedShort(int) - Method in class com.facebook.slice.Slice
Gets an unsigned 16-bit short integer at the specified absolute index in this slice.

H

hasByteArray() - Method in class com.facebook.slice.Slice
 
hash(Slice) - Static method in class com.facebook.slice.Murmur3
Deprecated.
 
hash(Slice, int, int) - Static method in class com.facebook.slice.Murmur3
Deprecated.
 
hash(long, Slice, int, int) - Static method in class com.facebook.slice.Murmur3
Deprecated.
 
hash(Slice) - Static method in class com.facebook.slice.Murmur3Hash128
 
hash(Slice, int, int) - Static method in class com.facebook.slice.Murmur3Hash128
 
hash(long, Slice, int, int) - Static method in class com.facebook.slice.Murmur3Hash128
 
hash(Slice) - Static method in class com.facebook.slice.Murmur3Hash32
 
hash(Slice, int, int) - Static method in class com.facebook.slice.Murmur3Hash32
 
hash(int, Slice, int, int) - Static method in class com.facebook.slice.Murmur3Hash32
 
hash(int) - Static method in class com.facebook.slice.Murmur3Hash32
Special-purpose version for hashing a single int value.
hash(long) - Static method in class com.facebook.slice.Murmur3Hash32
Special-purpose version for hashing a single long value.
hash() - Method in class com.facebook.slice.XxHash64
 
hash(long) - Static method in class com.facebook.slice.XxHash64
 
hash(InputStream) - Static method in class com.facebook.slice.XxHash64
 
hash(long, InputStream) - Static method in class com.facebook.slice.XxHash64
 
hash(Slice) - Static method in class com.facebook.slice.XxHash64
 
hash(long, Slice) - Static method in class com.facebook.slice.XxHash64
 
hash(Slice, int, int) - Static method in class com.facebook.slice.XxHash64
 
hash(long, Slice, int, int) - Static method in class com.facebook.slice.XxHash64
 
hash32(Slice) - Static method in class com.facebook.slice.FnvHash
 
hash32(Slice, int, int, long) - Static method in class com.facebook.slice.SpookyHashV2
 
hash64(Slice) - Static method in class com.facebook.slice.FnvHash
 
hash64(Slice) - Static method in class com.facebook.slice.Murmur3
Deprecated.
Returns the 64 most significant bits of the Murmur128 hash of the provided value
hash64(Slice, int, int) - Static method in class com.facebook.slice.Murmur3
Deprecated.
 
hash64(long, Slice, int, int) - Static method in class com.facebook.slice.Murmur3
Deprecated.
 
hash64(long) - Static method in class com.facebook.slice.Murmur3
Deprecated.
Special-purpose version for hashing a single long value.
hash64(Slice) - Static method in class com.facebook.slice.Murmur3Hash128
Returns the 64 most significant bits of the Murmur128 hash of the provided value
hash64(Slice, int, int) - Static method in class com.facebook.slice.Murmur3Hash128
 
hash64(long, Slice, int, int) - Static method in class com.facebook.slice.Murmur3Hash128
 
hash64(long) - Static method in class com.facebook.slice.Murmur3Hash128
Special-purpose version for hashing a single long value.
hash64(Slice, int, int, long) - Static method in class com.facebook.slice.SpookyHashV2
 
hashCode() - Method in class com.facebook.slice.Slice
Returns the hash code of this slice.
hashCode(int, int) - Method in class com.facebook.slice.Slice
Returns the hash code of a portion of this slice.

I

indexOf(Slice) - Method in class com.facebook.slice.Slice
Returns the index of the first occurrence of the pattern with this slice.
indexOf(Slice, int) - Method in class com.facebook.slice.Slice
Returns the index of the first occurrence of the pattern with this slice.
indexOfByte(int) - Method in class com.facebook.slice.Slice
 
InputStreamSliceInput - Class in com.facebook.slice
 
InputStreamSliceInput(InputStream) - Constructor for class com.facebook.slice.InputStreamSliceInput
 
InputStreamSliceInput(InputStream, int) - Constructor for class com.facebook.slice.InputStreamSliceInput
 
InvalidCodePointException - Exception in com.facebook.slice
 
InvalidCodePointException(int) - Constructor for exception com.facebook.slice.InvalidCodePointException
 
InvalidUtf8Exception - Exception in com.facebook.slice
 
InvalidUtf8Exception(String) - Constructor for exception com.facebook.slice.InvalidUtf8Exception
 
isAscii(Slice) - Static method in class com.facebook.slice.SliceUtf8
Does the slice contain only 7-bit ASCII characters.
isCompact() - Method in class com.facebook.slice.Slice
A slice is considered compact if the base object is an array and it contains the whole array.
isReadable() - Method in class com.facebook.slice.BasicSliceInput
 
isReadable() - Method in class com.facebook.slice.ChunkedSliceInput
 
isReadable() - Method in class com.facebook.slice.InputStreamSliceInput
 
isReadable() - Method in class com.facebook.slice.SliceInput
Returns true if and only if available() is greater than 0.
isWritable() - Method in class com.facebook.slice.BasicSliceOutput
 
isWritable() - Method in class com.facebook.slice.DynamicSliceOutput
 
isWritable() - Method in class com.facebook.slice.OutputStreamSliceOutput
 
isWritable() - Method in class com.facebook.slice.SliceOutput
Returns true if and only if (this.capacity - this.writerIndex) is greater than 0.

L

leftTrim(Slice) - Static method in class com.facebook.slice.SliceUtf8
Removes all white space characters from the left side of the string.
leftTrim(Slice, int[]) - Static method in class com.facebook.slice.SliceUtf8
Removes all whiteSpaceCodePoints from the left side of the string.
length() - Method in class com.facebook.slice.BasicSliceInput
 
length() - Method in class com.facebook.slice.ChunkedSliceInput
 
length() - Method in class com.facebook.slice.FixedLengthSliceInput
Gets the total size of this input stream.
length() - Method in class com.facebook.slice.Slice
Length of this slice.
lengthOfCodePoint(Slice, int) - Static method in class com.facebook.slice.SliceUtf8
Gets the UTF-8 sequence length of the code point at position.
lengthOfCodePoint(int) - Static method in class com.facebook.slice.SliceUtf8
Gets the UTF-8 sequence length of the code point.
lengthOfCodePointFromStartByte(byte) - Static method in class com.facebook.slice.SliceUtf8
Gets the UTF-8 sequence length using the sequence start byte.
lengthOfCodePointSafe(Slice, int) - Static method in class com.facebook.slice.SliceUtf8
Gets the UTF-8 sequence length of the code point at position.
load(long, B, int) - Method in interface com.facebook.slice.ChunkedSliceInput.SliceLoader
 
longSize() - Method in class com.facebook.slice.OutputStreamSliceOutput
 

M

mapFileReadOnly(File) - Static method in class com.facebook.slice.Slices
 
mark(int) - Method in class com.facebook.slice.SliceInput
 
markSupported() - Method in class com.facebook.slice.SliceInput
 
Murmur3 - Class in com.facebook.slice
Deprecated.
Murmur3Hash128 - Class in com.facebook.slice
 
Murmur3Hash32 - Class in com.facebook.slice
 

N

newSlice(long, int) - Method in class com.facebook.slice.UnsafeSliceFactory
Creates a slice for directly a raw memory address.
newSlice(long, int, Object) - Method in class com.facebook.slice.UnsafeSliceFactory
Creates a slice for directly a raw memory address.
newSlice(Object, long, int) - Method in class com.facebook.slice.UnsafeSliceFactory
 

O

offsetOfCodePoint(Slice, int) - Static method in class com.facebook.slice.SliceUtf8
Finds the index of the first byte of the code point at a position, or -1 if the position is not within the slice.
offsetOfCodePoint(Slice, int, int) - Static method in class com.facebook.slice.SliceUtf8
Starting from position bytes in utf8, finds the index of the first byte of the code point codePointCount in the slice.
OutputStreamSliceOutput - Class in com.facebook.slice
 
OutputStreamSliceOutput(OutputStream) - Constructor for class com.facebook.slice.OutputStreamSliceOutput
 
OutputStreamSliceOutput(OutputStream, int) - Constructor for class com.facebook.slice.OutputStreamSliceOutput
 

P

position() - Method in class com.facebook.slice.BasicSliceInput
 
position() - Method in class com.facebook.slice.ChunkedSliceInput
 
position() - Method in class com.facebook.slice.InputStreamSliceInput
 
position() - Method in class com.facebook.slice.SliceInput
Returns the position of this buffer.

R

read() - Method in class com.facebook.slice.BasicSliceInput
 
read(byte[], int, int) - Method in class com.facebook.slice.BasicSliceInput
 
read() - Method in class com.facebook.slice.ChunkedSliceInput
 
read(byte[], int, int) - Method in class com.facebook.slice.ChunkedSliceInput
 
read() - Method in class com.facebook.slice.InputStreamSliceInput
 
read(byte[], int, int) - Method in class com.facebook.slice.InputStreamSliceInput
 
read() - Method in class com.facebook.slice.SliceInput
 
read(byte[]) - Method in class com.facebook.slice.SliceInput
 
read(byte[], int, int) - Method in class com.facebook.slice.SliceInput
 
readBoolean() - Method in class com.facebook.slice.BasicSliceInput
 
readBoolean() - Method in class com.facebook.slice.ChunkedSliceInput
 
readBoolean() - Method in class com.facebook.slice.InputStreamSliceInput
 
readBoolean() - Method in class com.facebook.slice.SliceInput
Returns true if the byte at the current position is not 0 and increases the position by 1 in this buffer.
readByte() - Method in class com.facebook.slice.BasicSliceInput
 
readByte() - Method in class com.facebook.slice.ChunkedSliceInput
 
readByte() - Method in class com.facebook.slice.InputStreamSliceInput
 
readByte() - Method in class com.facebook.slice.SliceInput
Gets a byte at the current position and increases the position by 1 in this buffer.
readBytes(byte[], int, int) - Method in class com.facebook.slice.BasicSliceInput
 
readBytes(Slice, int, int) - Method in class com.facebook.slice.BasicSliceInput
 
readBytes(OutputStream, int) - Method in class com.facebook.slice.BasicSliceInput
 
readBytes(Slice, int, int) - Method in class com.facebook.slice.ChunkedSliceInput
 
readBytes(byte[], int, int) - Method in class com.facebook.slice.ChunkedSliceInput
 
readBytes(OutputStream, int) - Method in class com.facebook.slice.ChunkedSliceInput
 
readBytes(byte[], int, int) - Method in class com.facebook.slice.InputStreamSliceInput
 
readBytes(Slice, int, int) - Method in class com.facebook.slice.InputStreamSliceInput
 
readBytes(OutputStream, int) - Method in class com.facebook.slice.InputStreamSliceInput
 
readBytes(byte[]) - Method in class com.facebook.slice.SliceInput
Transfers this buffer's data to the specified destination starting at the current position and increases the position by the number of the transferred bytes (= dst.length).
readBytes(byte[], int, int) - Method in class com.facebook.slice.SliceInput
Transfers this buffer's data to the specified destination starting at the current position and increases the position by the number of the transferred bytes (= length).
readBytes(Slice) - Method in class com.facebook.slice.SliceInput
Transfers this buffer's data to the specified destination starting at the current position until the destination becomes non-writable, and increases the position by the number of the transferred bytes.
readBytes(Slice, int) - Method in class com.facebook.slice.SliceInput
Transfers this buffer's data to the specified destination starting at the current position and increases the position by the number of the transferred bytes (= length).
readBytes(Slice, int, int) - Method in class com.facebook.slice.SliceInput
Transfers this buffer's data to the specified destination starting at the current position and increases the position by the number of the transferred bytes (= length).
readBytes(OutputStream, int) - Method in class com.facebook.slice.SliceInput
Transfers this buffer's data to the specified stream starting at the current position.
readChar() - Method in class com.facebook.slice.SliceInput
 
readDouble() - Method in class com.facebook.slice.BasicSliceInput
 
readDouble() - Method in class com.facebook.slice.ChunkedSliceInput
 
readDouble() - Method in class com.facebook.slice.InputStreamSliceInput
 
readDouble() - Method in class com.facebook.slice.SliceInput
Gets a 64-bit double at the current position and increases the position by 8 in this buffer.
readFloat() - Method in class com.facebook.slice.BasicSliceInput
 
readFloat() - Method in class com.facebook.slice.ChunkedSliceInput
 
readFloat() - Method in class com.facebook.slice.InputStreamSliceInput
 
readFloat() - Method in class com.facebook.slice.SliceInput
Gets a 32-bit float at the current position and increases the position by 4 in this buffer.
readFully(byte[]) - Method in class com.facebook.slice.SliceInput
 
readFully(byte[], int, int) - Method in class com.facebook.slice.SliceInput
 
readInt() - Method in class com.facebook.slice.BasicSliceInput
 
readInt() - Method in class com.facebook.slice.ChunkedSliceInput
 
readInt() - Method in class com.facebook.slice.InputStreamSliceInput
 
readInt() - Method in class com.facebook.slice.SliceInput
Gets a 32-bit integer at the current position and increases the position by 4 in this buffer.
readLine() - Method in class com.facebook.slice.SliceInput
 
readLong() - Method in class com.facebook.slice.BasicSliceInput
 
readLong() - Method in class com.facebook.slice.ChunkedSliceInput
 
readLong() - Method in class com.facebook.slice.InputStreamSliceInput
 
readLong() - Method in class com.facebook.slice.SliceInput
Gets a 64-bit long at the current position and increases the position by 8 in this buffer.
readShort() - Method in class com.facebook.slice.BasicSliceInput
 
readShort() - Method in class com.facebook.slice.ChunkedSliceInput
 
readShort() - Method in class com.facebook.slice.InputStreamSliceInput
 
readShort() - Method in class com.facebook.slice.SliceInput
Gets a 16-bit short integer at the current position and increases the position by 2 in this buffer.
readSlice(int) - Method in class com.facebook.slice.BasicSliceInput
 
readSlice(int) - Method in class com.facebook.slice.ChunkedSliceInput
 
readSlice(int) - Method in class com.facebook.slice.InputStreamSliceInput
 
readSlice(int) - Method in class com.facebook.slice.SliceInput
Returns a new slice of this buffer's sub-region starting at the current position and increases the position by the size of the new slice (= length).
readUnsignedByte() - Method in class com.facebook.slice.BasicSliceInput
 
readUnsignedByte() - Method in class com.facebook.slice.ChunkedSliceInput
 
readUnsignedByte() - Method in class com.facebook.slice.InputStreamSliceInput
 
readUnsignedByte() - Method in class com.facebook.slice.SliceInput
Gets an unsigned byte at the current position and increases the position by 1 in this buffer.
readUnsignedInt() - Method in class com.facebook.slice.SliceInput
Gets an unsigned 32-bit integer at the current position and increases the position by 4 in this buffer.
readUnsignedShort() - Method in class com.facebook.slice.BasicSliceInput
 
readUnsignedShort() - Method in class com.facebook.slice.ChunkedSliceInput
 
readUnsignedShort() - Method in class com.facebook.slice.InputStreamSliceInput
 
readUnsignedShort() - Method in class com.facebook.slice.SliceInput
Gets an unsigned 16-bit short integer at the current position and increases the position by 2 in this buffer.
readUTF() - Method in class com.facebook.slice.SliceInput
 
remaining() - Method in class com.facebook.slice.FixedLengthSliceInput
Gets the number of bytes remaining after the current position in this stream.
reset() - Method in class com.facebook.slice.BasicSliceOutput
 
reset(int) - Method in class com.facebook.slice.BasicSliceOutput
 
reset() - Method in class com.facebook.slice.DynamicSliceOutput
 
reset(int) - Method in class com.facebook.slice.DynamicSliceOutput
 
reset() - Method in class com.facebook.slice.OutputStreamSliceOutput
 
reset(int) - Method in class com.facebook.slice.OutputStreamSliceOutput
 
reset() - Method in class com.facebook.slice.SliceInput
 
reset() - Method in class com.facebook.slice.SliceOutput
Resets this stream to the initial position.
reset(int) - Method in class com.facebook.slice.SliceOutput
Resets this stream to the specified position.
reverse(Slice) - Static method in class com.facebook.slice.SliceUtf8
Reverses the slice code point by code point.
rightTrim(Slice) - Static method in class com.facebook.slice.SliceUtf8
Removes all white space characters from the right side of the string.
rightTrim(Slice, int[]) - Static method in class com.facebook.slice.SliceUtf8
Removes all white whiteSpaceCodePoints from the right side of the string.

S

setByte(int, int) - Method in class com.facebook.slice.Slice
Sets the specified byte at the specified absolute index in this buffer.
setBytes(int, Slice) - Method in class com.facebook.slice.Slice
Transfers data from the specified slice into this buffer starting at the specified absolute index.
setBytes(int, Slice, int, int) - Method in class com.facebook.slice.Slice
Transfers data from the specified slice into this buffer starting at the specified absolute index.
setBytes(int, byte[]) - Method in class com.facebook.slice.Slice
Transfers data from the specified slice into this buffer starting at the specified absolute index.
setBytes(int, byte[], int, int) - Method in class com.facebook.slice.Slice
Transfers data from the specified array into this buffer starting at the specified absolute index.
setBytes(int, InputStream, int) - Method in class com.facebook.slice.Slice
Transfers data from the specified input stream into this slice starting at the specified absolute index.
setCodePointAt(int, Slice, int) - Static method in class com.facebook.slice.SliceUtf8
Sets the UTF-8 sequence for code point at the position.
setDouble(byte[], int, double) - Static method in class com.facebook.slice.ByteArrays
 
setDouble(int, double) - Method in class com.facebook.slice.Slice
Sets the specified 64-bit double at the specified absolute index in this buffer.
setFloat(byte[], int, float) - Static method in class com.facebook.slice.ByteArrays
 
setFloat(int, float) - Method in class com.facebook.slice.Slice
Sets the specified 32-bit float at the specified absolute index in this buffer.
setInt(byte[], int, int) - Static method in class com.facebook.slice.ByteArrays
 
setInt(int, int) - Method in class com.facebook.slice.Slice
Sets the specified 32-bit integer at the specified absolute index in this buffer.
setLong(byte[], int, long) - Static method in class com.facebook.slice.ByteArrays
 
setLong(int, long) - Method in class com.facebook.slice.Slice
Sets the specified 64-bit long integer at the specified absolute index in this buffer.
setPosition(long) - Method in class com.facebook.slice.BasicSliceInput
 
setPosition(long) - Method in class com.facebook.slice.ChunkedSliceInput
 
setPosition(long) - Method in class com.facebook.slice.InputStreamSliceInput
 
setPosition(long) - Method in class com.facebook.slice.SliceInput
Sets the position of this buffer.
setShort(byte[], int, short) - Static method in class com.facebook.slice.ByteArrays
 
setShort(int, int) - Method in class com.facebook.slice.Slice
Sets the specified 16-bit short integer at the specified absolute index in this buffer.
size() - Method in class com.facebook.slice.BasicSliceOutput
 
size() - Method in class com.facebook.slice.DynamicSliceOutput
 
size() - Method in class com.facebook.slice.OutputStreamSliceOutput
 
size() - Method in class com.facebook.slice.SliceOutput
Returns the writerIndex of this buffer.
SIZE_OF_BYTE - Static variable in class com.facebook.slice.SizeOf
 
SIZE_OF_DOUBLE - Static variable in class com.facebook.slice.SizeOf
 
SIZE_OF_FLOAT - Static variable in class com.facebook.slice.SizeOf
 
SIZE_OF_INT - Static variable in class com.facebook.slice.SizeOf
 
SIZE_OF_LONG - Static variable in class com.facebook.slice.SizeOf
 
SIZE_OF_SHORT - Static variable in class com.facebook.slice.SizeOf
 
SizeOf - Class in com.facebook.slice
 
sizeOf(boolean[]) - Static method in class com.facebook.slice.SizeOf
 
sizeOf(byte[]) - Static method in class com.facebook.slice.SizeOf
 
sizeOf(short[]) - Static method in class com.facebook.slice.SizeOf
 
sizeOf(char[]) - Static method in class com.facebook.slice.SizeOf
 
sizeOf(int[]) - Static method in class com.facebook.slice.SizeOf
 
sizeOf(long[]) - Static method in class com.facebook.slice.SizeOf
 
sizeOf(float[]) - Static method in class com.facebook.slice.SizeOf
 
sizeOf(double[]) - Static method in class com.facebook.slice.SizeOf
 
sizeOf(Object[]) - Static method in class com.facebook.slice.SizeOf
 
sizeOfBooleanArray(int) - Static method in class com.facebook.slice.SizeOf
 
sizeOfByteArray(int) - Static method in class com.facebook.slice.SizeOf
 
sizeOfCharArray(int) - Static method in class com.facebook.slice.SizeOf
 
sizeOfDoubleArray(int) - Static method in class com.facebook.slice.SizeOf
 
sizeOfFloatArray(int) - Static method in class com.facebook.slice.SizeOf
 
sizeOfIntArray(int) - Static method in class com.facebook.slice.SizeOf
 
sizeOfLongArray(int) - Static method in class com.facebook.slice.SizeOf
 
sizeOfObjectArray(int) - Static method in class com.facebook.slice.SizeOf
 
sizeOfShortArray(int) - Static method in class com.facebook.slice.SizeOf
 
skip(long) - Method in class com.facebook.slice.BasicSliceInput
 
skip(long) - Method in class com.facebook.slice.ChunkedSliceInput
 
skip(long) - Method in class com.facebook.slice.InputStreamSliceInput
 
skip(long) - Method in class com.facebook.slice.SliceInput
 
skipBytes(int) - Method in class com.facebook.slice.BasicSliceInput
 
skipBytes(int) - Method in class com.facebook.slice.ChunkedSliceInput
 
skipBytes(int) - Method in class com.facebook.slice.InputStreamSliceInput
 
skipBytes(int) - Method in class com.facebook.slice.SliceInput
 
slice() - Method in class com.facebook.slice.BasicSliceInput
Returns a slice of this buffer's readable bytes.
slice() - Method in class com.facebook.slice.BasicSliceOutput
 
slice() - Method in class com.facebook.slice.DynamicSliceOutput
 
slice() - Method in class com.facebook.slice.OutputStreamSliceOutput
 
Slice - Class in com.facebook.slice
 
slice(int, int) - Method in class com.facebook.slice.Slice
Returns a slice of this buffer's sub-region.
slice() - Method in class com.facebook.slice.SliceOutput
Returns a slice of this buffer's readable bytes.
SliceAssertions - Class in com.facebook.slice.testing
 
SliceInput - Class in com.facebook.slice
 
SliceInput() - Constructor for class com.facebook.slice.SliceInput
 
SliceOutput - Class in com.facebook.slice
 
SliceOutput() - Constructor for class com.facebook.slice.SliceOutput
 
Slices - Class in com.facebook.slice
 
SliceTooLargeException - Exception in com.facebook.slice
 
SliceTooLargeException(String) - Constructor for exception com.facebook.slice.SliceTooLargeException
 
SliceUtf8 - Class in com.facebook.slice
Utility methods for UTF-8 encoded slices.
SpookyHashV2 - Class in com.facebook.slice
Reference implementation: http://burtleburtle.net/bob/hash/spooky.html
substring(Slice, int, int) - Static method in class com.facebook.slice.SliceUtf8
Gets the substring starting at codePointStart and extending for codePointLength code points.

T

toByteBuffer() - Method in class com.facebook.slice.Slice
 
toByteBuffer(int, int) - Method in class com.facebook.slice.Slice
 
toLowerCase(Slice) - Static method in class com.facebook.slice.SliceUtf8
Converts slice to lower case code point by code point.
toString(Charset) - Method in class com.facebook.slice.BasicSliceInput
Decodes this buffer's readable bytes into a string with the specified character set name.
toString() - Method in class com.facebook.slice.BasicSliceInput
 
toString() - Method in class com.facebook.slice.BasicSliceOutput
 
toString(Charset) - Method in class com.facebook.slice.BasicSliceOutput
 
toString() - Method in class com.facebook.slice.ChunkedSliceInput
 
toString() - Method in class com.facebook.slice.DynamicSliceOutput
 
toString(Charset) - Method in class com.facebook.slice.DynamicSliceOutput
 
toString(Charset) - Method in class com.facebook.slice.OutputStreamSliceOutput
 
toString() - Method in class com.facebook.slice.OutputStreamSliceOutput
 
toString(Charset) - Method in class com.facebook.slice.Slice
Decodes the contents of this slice into a string with the specified character set name.
toString(int, int, Charset) - Method in class com.facebook.slice.Slice
Decodes the a portion of this slice into a string with the specified character set name.
toString() - Method in class com.facebook.slice.Slice
Decodes the a portion of this slice into a string with the specified character set name.
toString(Charset) - Method in class com.facebook.slice.SliceOutput
Decodes this buffer's readable bytes into a string with the specified character set name.
toStringAscii() - Method in class com.facebook.slice.Slice
Decodes the contents of this slice into a string using the US_ASCII character set.
toStringAscii(int, int) - Method in class com.facebook.slice.Slice
 
toStringUtf8() - Method in class com.facebook.slice.Slice
Decodes the contents of this slice into a string using the UTF-8 character set.
toUnsafeSlice(ByteBuffer) - Static method in class com.facebook.slice.Slice
toUpperCase(Slice) - Static method in class com.facebook.slice.SliceUtf8
Converts slice to upper case code point by code point.
trim(Slice) - Static method in class com.facebook.slice.SliceUtf8
Removes all white space characters from the left and right side of the string.
trim(Slice, int[]) - Static method in class com.facebook.slice.SliceUtf8
Removes all white whiteSpaceCodePoints from the left and right side of the string.
tryGetCodePointAt(Slice, int) - Static method in class com.facebook.slice.SliceUtf8
Tries to get the UTF-8 encoded code point at the position.

U

UnsafeSlice - Class in com.facebook.slice
 
UnsafeSliceFactory - Class in com.facebook.slice
A slice factory for creating unsafe slices
update(byte[]) - Method in class com.facebook.slice.XxHash64
 
update(byte[], int, int) - Method in class com.facebook.slice.XxHash64
 
update(Slice) - Method in class com.facebook.slice.XxHash64
 
update(Slice, int, int) - Method in class com.facebook.slice.XxHash64
 
utf8Slice(String) - Static method in class com.facebook.slice.Slices
 

W

wrappedBooleanArray(boolean...) - Static method in class com.facebook.slice.Slices
Creates a slice over the specified array.
wrappedBooleanArray(boolean[], int, int) - Static method in class com.facebook.slice.Slices
Creates a slice over the specified array range.
wrappedBuffer(ByteBuffer) - Static method in class com.facebook.slice.Slices
Wrap the visible portion of a ByteBuffer.
wrappedBuffer(byte...) - Static method in class com.facebook.slice.Slices
Creates a slice over the specified array.
wrappedBuffer(byte[], int, int) - Static method in class com.facebook.slice.Slices
Creates a slice over the specified array range.
wrappedDoubleArray(double...) - Static method in class com.facebook.slice.Slices
Creates a slice over the specified array.
wrappedDoubleArray(double[], int, int) - Static method in class com.facebook.slice.Slices
Creates a slice over the specified array range.
wrappedFloatArray(float...) - Static method in class com.facebook.slice.Slices
Creates a slice over the specified array.
wrappedFloatArray(float[], int, int) - Static method in class com.facebook.slice.Slices
Creates a slice over the specified array range.
wrappedIntArray(int...) - Static method in class com.facebook.slice.Slices
Creates a slice over the specified array.
wrappedIntArray(int[], int, int) - Static method in class com.facebook.slice.Slices
Creates a slice over the specified array range.
wrappedLongArray(long...) - Static method in class com.facebook.slice.Slices
Creates a slice over the specified array.
wrappedLongArray(long[], int, int) - Static method in class com.facebook.slice.Slices
Creates a slice over the specified array range.
wrappedShortArray(short...) - Static method in class com.facebook.slice.Slices
Creates a slice over the specified array.
wrappedShortArray(short[], int, int) - Static method in class com.facebook.slice.Slices
Creates a slice over the specified array range.
writableBytes() - Method in class com.facebook.slice.BasicSliceOutput
 
writableBytes() - Method in class com.facebook.slice.DynamicSliceOutput
 
writableBytes() - Method in class com.facebook.slice.OutputStreamSliceOutput
 
writableBytes() - Method in class com.facebook.slice.SliceOutput
Returns the number of writable bytes which is equal to (this.capacity - this.writerIndex).
write(int) - Method in class com.facebook.slice.SliceOutput
 
write(byte[]) - Method in class com.facebook.slice.SliceOutput
 
write(byte[], int, int) - Method in class com.facebook.slice.SliceOutput
 
writeBoolean(boolean) - Method in class com.facebook.slice.SliceOutput
 
writeByte(int) - Method in class com.facebook.slice.BasicSliceOutput
 
writeByte(int) - Method in class com.facebook.slice.DynamicSliceOutput
 
writeByte(int) - Method in class com.facebook.slice.OutputStreamSliceOutput
 
writeByte(int) - Method in class com.facebook.slice.SliceOutput
Sets the specified byte at the current writerIndex and increases the writerIndex by 1 in this buffer.
writeBytes(byte[], int, int) - Method in class com.facebook.slice.BasicSliceOutput
 
writeBytes(byte[]) - Method in class com.facebook.slice.BasicSliceOutput
 
writeBytes(Slice) - Method in class com.facebook.slice.BasicSliceOutput
 
writeBytes(Slice, int, int) - Method in class com.facebook.slice.BasicSliceOutput
 
writeBytes(InputStream, int) - Method in class com.facebook.slice.BasicSliceOutput
 
writeBytes(byte[]) - Method in class com.facebook.slice.DynamicSliceOutput
 
writeBytes(byte[], int, int) - Method in class com.facebook.slice.DynamicSliceOutput
 
writeBytes(Slice) - Method in class com.facebook.slice.DynamicSliceOutput
 
writeBytes(Slice, int, int) - Method in class com.facebook.slice.DynamicSliceOutput
 
writeBytes(InputStream, int) - Method in class com.facebook.slice.DynamicSliceOutput
 
writeBytes(Slice) - Method in class com.facebook.slice.OutputStreamSliceOutput
 
writeBytes(Slice, int, int) - Method in class com.facebook.slice.OutputStreamSliceOutput
 
writeBytes(byte[]) - Method in class com.facebook.slice.OutputStreamSliceOutput
 
writeBytes(byte[], int, int) - Method in class com.facebook.slice.OutputStreamSliceOutput
 
writeBytes(InputStream, int) - Method in class com.facebook.slice.OutputStreamSliceOutput
 
writeBytes(Slice) - Method in class com.facebook.slice.SliceOutput
Transfers the specified source buffer's data to this buffer starting at the current writerIndex until the source buffer becomes unreadable, and increases the writerIndex by the number of the transferred bytes.
writeBytes(Slice, int, int) - Method in class com.facebook.slice.SliceOutput
Transfers the specified source buffer's data to this buffer starting at the current writerIndex and increases the writerIndex by the number of the transferred bytes (= length).
writeBytes(byte[]) - Method in class com.facebook.slice.SliceOutput
Transfers the specified source array's data to this buffer starting at the current writerIndex and increases the writerIndex by the number of the transferred bytes (= source.length).
writeBytes(byte[], int, int) - Method in class com.facebook.slice.SliceOutput
Transfers the specified source array's data to this buffer starting at the current writerIndex and increases the writerIndex by the number of the transferred bytes (= length).
writeBytes(InputStream, int) - Method in class com.facebook.slice.SliceOutput
Transfers the content of the specified stream to this buffer starting at the current writerIndex and increases the writerIndex by the number of the transferred bytes.
writeBytes(String) - Method in class com.facebook.slice.SliceOutput
Unsupported operation
writeChar(int) - Method in class com.facebook.slice.SliceOutput
Unsupported operation
writeChars(String) - Method in class com.facebook.slice.SliceOutput
Unsupported operation
writeDouble(double) - Method in class com.facebook.slice.BasicSliceOutput
 
writeDouble(double) - Method in class com.facebook.slice.DynamicSliceOutput
 
writeDouble(double) - Method in class com.facebook.slice.OutputStreamSliceOutput
 
writeDouble(double) - Method in class com.facebook.slice.SliceOutput
Sets the specified 64-bit double at the current writerIndex and increases the writerIndex by 8 in this buffer.
writeFloat(float) - Method in class com.facebook.slice.BasicSliceOutput
 
writeFloat(float) - Method in class com.facebook.slice.DynamicSliceOutput
 
writeFloat(float) - Method in class com.facebook.slice.OutputStreamSliceOutput
 
writeFloat(float) - Method in class com.facebook.slice.SliceOutput
Sets the specified 32-bit float at the current writerIndex and increases the writerIndex by 4 in this buffer.
writeInt(int) - Method in class com.facebook.slice.BasicSliceOutput
 
writeInt(int) - Method in class com.facebook.slice.DynamicSliceOutput
 
writeInt(int) - Method in class com.facebook.slice.OutputStreamSliceOutput
 
writeInt(int) - Method in class com.facebook.slice.SliceOutput
Sets the specified 32-bit integer at the current writerIndex and increases the writerIndex by 4 in this buffer.
writeLong(long) - Method in class com.facebook.slice.BasicSliceOutput
 
writeLong(long) - Method in class com.facebook.slice.DynamicSliceOutput
 
writeLong(long) - Method in class com.facebook.slice.OutputStreamSliceOutput
 
writeLong(long) - Method in class com.facebook.slice.SliceOutput
Sets the specified 64-bit long integer at the current writerIndex and increases the writerIndex by 8 in this buffer.
writeShort(int) - Method in class com.facebook.slice.BasicSliceOutput
 
writeShort(int) - Method in class com.facebook.slice.DynamicSliceOutput
 
writeShort(int) - Method in class com.facebook.slice.OutputStreamSliceOutput
 
writeShort(int) - Method in class com.facebook.slice.SliceOutput
Sets the specified 16-bit short integer at the current writerIndex and increases the writerIndex by 2 in this buffer.
writeUTF(String) - Method in class com.facebook.slice.SliceOutput
Unsupported operation
writeZero(int) - Method in class com.facebook.slice.DynamicSliceOutput
 
writeZero(int) - Method in class com.facebook.slice.OutputStreamSliceOutput
 
writeZero(int) - Method in class com.facebook.slice.SliceOutput
Fills this buffer with NUL (0x00) starting at the current writerIndex and increases the writerIndex by the specified length.

X

XxHash64 - Class in com.facebook.slice
 
XxHash64() - Constructor for class com.facebook.slice.XxHash64
 
XxHash64(long) - Constructor for class com.facebook.slice.XxHash64
 
A B C D E F G H I L M N O P R S T U W X 
Skip navigation links

Copyright © 2012–2019. All rights reserved.