You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a new "data type" that combines a variable size int with a byte array.
Abstract
Data stored in a transaction costs. Messages location MUST be kept private if the sender chooses to send in this way. Using Message Store Identifier (MSI) an int to locate a schema+domain, when adding this value to the transaction data it requires encrypting. MSI is typically 1 byte (max 10). CipherText pads the text if the payload is too small, this will create inefficient storage as bytes are added for padding purposes only.
Specification
small int values should take up less bytes than larger ones. E.g. <256 = 1 byte
first byte should contain the length of the integer value to efficiently store small int and support large int values.
unsigned int should be used as there is no use case for negative values
empty byte array is acceptable
Rationale
Combining varint and byte array creates an efficient byte array especially when needing to store multiple fields which need encoding.
Backwards Compatibility
When using this data type in protobuf files and others it should be prefixed with UIB to ensure developers know how to handle the value
Simple Summary
Create a new "data type" that combines a variable size int with a byte array.
Abstract
Data stored in a transaction costs. Messages location MUST be kept private if the sender chooses to send in this way. Using Message Store Identifier (MSI) an int to locate a schema+domain, when adding this value to the transaction data it requires encrypting. MSI is typically 1 byte (max 10). CipherText pads the text if the payload is too small, this will create inefficient storage as bytes are added for padding purposes only.
Specification
Rationale
Combining varint and byte array creates an efficient byte array especially when needing to store multiple fields which need encoding.
Backwards Compatibility
When using this data type in protobuf files and others it should be prefixed with UIB to ensure developers know how to handle the value
Related MIP
The text was updated successfully, but these errors were encountered: