MCPcopy Create free account
hub / github.com/BambooTracker/BambooTracker / readInt16

Method readInt16

BambooTracker/io/binary_container.cpp:207–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205}
206
207int16_t BinaryContainer::readInt16(size_type offset) const
208{
209 std::vector<uint8_t> data = read(offset, 2);
210 return static_cast<int16_t>(data[0] | (data[1] << 8));
211}
212
213uint16_t BinaryContainer::readUint16(size_type offset) const
214{

Callers 1

importSampleFromMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected