public static void serializeNullableString(ByteBuffer outputBuffer, String value) {
    if (value == null) {
      outputBuffer.putInt(0);
    } else {
      serializeString(outputBuffer, value, Charset.defaultCharset());
    }
  }
Serializes a nullable string into byte buffer using the default charset.

@param outputBuffer The output buffer to serialize the value to
@param value The value to serialize
ambry-utils/src/main/java/com/github/ambry/utils/Utils.java