Skip to content

Unexpected Output #7

@qb-0

Description

@qb-0

Sorry, it's me again.

nim> import struct
nim> var a = unpack(">3I", "Hello World ")
nim> a
@[1214606444, 1864390511, 1919706144] == type seq[StructNode]
nim> pack(">3I", a)
Horld  == type string

Also it would be a useful feature to pass a seq[int32] to pack.

Metadata

Metadata

Assignees

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