public class ByteSequenceUtils extends Object
| Constructor and Description |
|---|
ByteSequenceUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
equals(ByteSequence byteSequence,
byte[] bytes) |
static byte[] |
getBytes(ByteSequence byteSequence) |
static int |
indexOf(ByteSequence bytes,
byte b) |
static int |
indexOf(ByteSequence bytes,
byte b,
int startIndex) |
static void |
putIntoByteBuffer(ByteSequence bytes,
ByteBuffer bb) |
static ByteSequence |
subSequence(ByteSequence bytes,
int startIndex) |
static ByteSequence |
subSequence(ByteSequence bytes,
int startIndex,
int endIndex) |
static String |
toString(ByteSequence byteSequence) |
public static boolean equals(ByteSequence byteSequence, byte[] bytes)
public static String toString(ByteSequence byteSequence)
public static int indexOf(ByteSequence bytes, byte b)
public static int indexOf(ByteSequence bytes, byte b, int startIndex)
public static ByteSequence subSequence(ByteSequence bytes, int startIndex)
public static ByteSequence subSequence(ByteSequence bytes, int startIndex, int endIndex)
public static void putIntoByteBuffer(ByteSequence bytes, ByteBuffer bb)
public static byte[] getBytes(ByteSequence byteSequence)
Copyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.