Skip to content

Getting data offset #546

Closed Answered by jamesmudd
bradh asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for the question. I think what you want is io.jhdf.api.dataset.ContiguousDataset#getDataAddress you will need to cast the Dataset you have to a ContiguousDataset as getting the address for the data doesn't make sense for all types of Dataset. You might prefer to call io.jhdf.api.dataset.ContiguousDataset#getBuffer to let jHDF give you a ByteBuffer I think you want. Let me know if this answers your question.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by bradh
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants