Skip to content

Redundant trailing zero byte in Thrift binary output #104

@nezumi0627

Description

@nezumi0627

The binary serialization in packages/linejs/base/thrift/readwrite/write.ts manually appends a zero byte to the end of the buffer. Since Thrift's writeFieldStop already correctly terminates the structure, this extra byte at the transport level is unnecessary and may cause issues with strict Thrift parsers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions