public final byte[] releaseBytes() {
    byte[] result = bytes;
    bytes = null;
    size = 0;
    return result;
  }
Releases the internal byte array to the caller, resets the internal byte array to null and its
size to 0.

@return internal byte array.
amoro-format-mixed/amoro-mixed-flink/amoro-mixed-flink-common/src/main/java/org/apache/amoro/flink/lookup/ByteArrayWrapper.java