MCPcopy Create free account
hub / github.com/apache/cassandra-nodejs-driver / hex

Function hex

test/unit/token-tests.js:158–160  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

156 const tester = new TokenTester(_tokenizer);
157
158 function hex(str) {
159 return Buffer.from(str, 'utf8').toString('hex');
160 }
161
162 describe('#splitEvenly()', () => {
163 it('should split range', tester.rangeSplitTester(hex('a'), hex('d'), 3, [

Callers 1

token-tests.jsFile · 0.85

Calls 2

fromMethod · 0.80
toStringMethod · 0.65

Tested by

no test coverage detected