Skip to content

Issue with code comment #25

Closed
Closed
@wiktor-k

Description

The following comment seems to be wrong:

// 32 is the ASCII code for ' '
let label = [b' '; 32];

32 is used not because it's a code for space but because the spec requires 32 bytes. Also: the space is encoded as a first argument (b' ') as the it is required that the label is space-padded.

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomerssmallEffort label

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions