v8.serialize(value)


    使用 DefaultSerializervalue 序列化到缓冲区中。

    Uses a DefaultSerializer to serialize value into a buffer.

    ERR_BUFFER_TOO_LARGE will be thrown when trying to serialize a huge object which requires buffer larger than buffer.constants.MAX_LENGTH.