Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how are e.g. integers marshalled to/from blobs? #3

Open
tinyplasticgreyknight opened this issue May 18, 2015 · 2 comments
Open

how are e.g. integers marshalled to/from blobs? #3

tinyplasticgreyknight opened this issue May 18, 2015 · 2 comments
Labels

Comments

@tinyplasticgreyknight
Copy link
Owner

No description provided.

@IreneKnapp
Copy link
Collaborator

Huh. Yeah, now that you mention it, none of this addresses byte order for integers, does it. I think this is a design issue, not a docs issue, so I opened a ticket for it over at IreneKnapp/modern-data#3.

@IreneKnapp
Copy link
Collaborator

A further comment here, by the way, is that I think the marshallings are relatively obvious for everything except integers. Floats have their byte-order specified by IEEE (I think... I looked into it at one time...). The only other types that support blob casts are utf8 and name. UTF-8 is of course already an exactly-specified format. A name is actually the output of the Murmur 3 hash function (though see IreneKnapp/modern-data#4 on the topic of reconsidering which function it is). So those should be straightforward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants