Skip to content

Conversation

@tarcieri
Copy link
Member

The impls of Decode for Bytes and Encode for [u8] made reference to byte[n], i.e. a fixed length bytestring, however both these types are analogues for string, which is encoded with a length prefix.

The comments have been updated to reflect the correct type they map to in the SSH encoding schema, which is string.

The impls of `Decode` for `Bytes` and `Encode` for `[u8]` made reference
to `byte[n]`, i.e. a fixed length bytestring, however both these types
are analogues for `string`, which is encoded with a length prefix.

The comments have been updated to reflect the correct type they map to
in the SSH encoding schema, which is `string`.
@tarcieri tarcieri merged commit da343a4 into master Mar 25, 2025
27 checks passed
@tarcieri tarcieri deleted the ssh-encoding/fix-encoding-references-to-byten branch March 25, 2025 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants