serializer.writeValue(value)


    序列化 JavaScript 值并将序列化的表示添加到内部缓冲区。

    Serializes a JavaScript value and adds the serialized representation to the internal buffer.

    This throws an error if value cannot be serialized.