rcsb / mmtf-cpp

The pure C++ implementation of the MMTF API, decoder and encoder.
MIT License
21 stars 24 forks source link

binaryEncoder more const correctness #38

Closed danpf closed 3 years ago

danpf commented 4 years ago

This PR updates most of the BinaryDecoder methods to be const as they do not modify the internal class data. It will make it more convenient and easier to use when passing BinaryDecoder instances through functions.

speleo3 commented 4 years ago

Looks good to me.