Skip to content

Feature Request: formats specifed by builtin struct module #7

@ModernMAK

Description

@ModernMAK

A library that wants to be a struct module alternative should be able to do this.

Codes are taken from struct specification.

  • x ~ padding
  • c ~ single byte
  • b ~ sbyte / Int8
  • B ~ byte / UInt8
  • ? ~ bool
  • h ~ short / Int16
  • H ~ unsigned short / UInt16
  • i ~ int / Int32
  • I ~ unsigned int / UInt32
  • l ~ long / Int32
  • L ~ unsigned long / UInt32
  • q ~ long long / Int64
  • Q ~ unsigned long long / UInt64
  • n ~ ssize_t
  • N ~ size_t
  • e ~ half / Float16
  • f ~ float / Float32
  • d ~ double / Float64
  • s ~ byte array
  • p ~ pascal byte array
  • P ~ void* (pointer?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions