docs: public static void writeVarbinary(byte[] bytes, ByteBuffer buf) throws IOException {
          if (bytes == null) {
              buf.putInt(VoltType.NULL_STRING_LENGTH);
              return;
          }
  
          buf.putInt(bytes.length);
          buf.put(bytes);
      }