public static <Data> ByteArraySequence serializeValueToByteSeq(/*must be not null if externalizer doesn't support nulls*/ Data data,
                                                                                                                            @NotNull DataExternalizer<Data> externalizer,
                                                                                                                            int bufferInitialSize)
    throws IOException {
    return serializeToByteSeq(data, externalizer, bufferInitialSize, ourSpareByteArrayForValues);
  }
public static <Data> ByteArraySequence serializeValueToByteSeq(/*must be not null if externalizer doesn't support nulls*/ Data data,
                                                                                                                            @NotNull DataExternalizer<Data> externalizer,
                                                                                                                            int bufferInitialSize)