Uses of Class
org.ghotibeaun.json.util.ByteSequence
| Package | Description |
|---|---|
| org.ghotibeaun.json.util |
-
Uses of ByteSequence in org.ghotibeaun.json.util
Methods in org.ghotibeaun.json.util that return ByteSequence Modifier and Type Method Description static ByteSequenceByteSequence. emptySequence()Creates a new ByteSequence with no sequence itemsByteSequenceByteSequence. followedBy(byte b)Adds a new ByteRange sequence to an existing ByteSequenceByteSequenceByteSequence. followedByAnyOf(byte... anyOf)Adds a new ByteRange sequence to an existing ByteSequenceByteSequenceByteSequence. followedByRange(ByteRange range)Adds a new ByteRange sequence to the existing ByteSequenceByteSequenceByteSequence. followedByRangeFrom(byte start, byte end)Adds a new ByteRange sequence containing all bytes from a given start and end value to an existing ByteSequenceByteSequenceByteSequence. followedBySequenceOf(ByteSequence sequence)Appends all of the sequence items from another ByteSequence into the current ByteSequencestatic ByteSequenceByteSequence. startsWith(byte b)Initializes a ByteSequence with the first sequence item as a single byte valuestatic ByteSequenceByteSequence. startsWith(ByteSequence sequence)Initializes a new ByteSequence using another ByteSequence's itemsstatic ByteSequenceByteSequence. startsWithAnyOf(byte... anyOf)Initializes a new ByteSequence containing a variable number of byte valuesstatic ByteSequenceByteSequence. startsWithRange(ByteRange range)Initializes a new ByteSequence with a ByteRange of byte values.static ByteSequenceByteSequence. startsWithRangeFrom(byte start, byte end)Initializesa new ByteSequence by creating a first sequence item containing byte values starting from one value up to an end byte value, inclusive.static ByteSequenceByteSequence. withStartingSequence(byte[] byteSequence)Initializes a new ByteSequence with each element in the byte array as separate sequence items.Methods in org.ghotibeaun.json.util with parameters of type ByteSequence Modifier and Type Method Description ByteSequenceByteSequence. followedBySequenceOf(ByteSequence sequence)Appends all of the sequence items from another ByteSequence into the current ByteSequencestatic ByteSequenceByteSequence. startsWith(ByteSequence sequence)Initializes a new ByteSequence using another ByteSequence's items