public class Utils
extends java.lang.Object
| Modifier and Type | Method | Description |
|---|---|---|
static boolean |
bufEquals(byte[] onearray,
byte[] twoarray) |
equals function that actually compares two buffers.
|
static int |
compareBytes(byte[] b1,
int off1,
int len1,
byte[] b2,
int off2,
int len2) |
public static boolean bufEquals(byte[] onearray,
byte[] twoarray)
onearray - First buffertwoarray - Second bufferpublic static int compareBytes(byte[] b1,
int off1,
int len1,
byte[] b2,
int off2,
int len2)
Copyright © 2018 The Apache Software Foundation