Skip to content

Instantly share code, notes, and snippets.

@svartalf
Created February 14, 2017 13:53
Show Gist options
  • Save svartalf/7c6dba10bc28d3d22d8e668e7ed860f7 to your computer and use it in GitHub Desktop.
Save svartalf/7c6dba10bc28d3d22d8e668e7ed860f7 to your computer and use it in GitHub Desktop.
print-type-size type: `protocol::response::Response`: 48 bytes, alignment: 8 bytes
print-type-size field `.opcode`: 1 bytes
print-type-size padding: 1 bytes
print-type-size field `.key_length`: 2 bytes, alignment: 2 bytes
print-type-size field `.extras_length`: 1 bytes
print-type-size field `.data_type`: 1 bytes
print-type-size field `.status`: 1 bytes
print-type-size padding: 1 bytes
print-type-size field `.body_length`: 4 bytes, alignment: 4 bytes
print-type-size field `.opaque`: 4 bytes
print-type-size field `.cas`: 8 bytes
print-type-size field `.body`: 24 bytes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment