Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(core): NanoTDF resource locator protocol bit mask (#107)
This is prep for the incoming changes related to ADR below. Updated the constructor to mask the first byte with 0xF, ensuring only the first four bits are used for indexing the protocol. This prevents potential out-of-bounds errors when retrieving values from the NanoTDFType.Protocol enum. Issue: opentdf/platform#1203 Specification: opentdf/spec#40 ADR: opentdf/platform#900
- Loading branch information