public static Byte[][] toByteArray(final byte[][] array) {
    if (array == null) {
      return null;
    }
    final Byte[][] byteArray = new Byte[array.length][];
    for (int i = 0; i < array.length; i++) {
      byteArray[i] = new Byte[array[i].length];
      for (int j = 0; j < array[i].length; j++) {
        byteArray[i][j] = array[i][j];
      }
    }
    return byteArray;
  }
Converts a double byte array into a double Byte array.

@param array the double byte array to convert into double Byte array
@return a double array of Byte objects containing values from the double byte array
geode-core/src/main/java/org/apache/geode/internal/util/ArrayUtils.java