docs: public static void marshallByteArray(byte[] array, ObjectOutput out) throws IOException {
        final int size = array == null ? NULL_VALUE : array.length;
        marshallSize(out, size);
        if (size <= 0) {
           return;
        }
        out.write(array);
     }