public class Utils extends Object
| Modifier and Type | Method and 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 © 2008–2021 The Apache Software Foundation. All rights reserved.