Home
last modified time | relevance | path

Searched refs:LowerCaseBase16Encoding (Results 1 – 4 of 4) sorted by relevance

/external/opencensus-java/api/src/test/java/io/opencensus/trace/
DLowerCaseBase16EncodingTest.java51 LowerCaseBase16Encoding.decodeToBytes("efhg"); in invalidDecodings_UnrecongnizedCharacters()
59 LowerCaseBase16Encoding.decodeToBytes("abc"); in invalidDecodings_InvalidInputLength()
67 LowerCaseBase16Encoding.decodeToBytes("?"); in invalidDecodings_InvalidInputLengthAndCharacter()
76 assertThat(LowerCaseBase16Encoding.encodeToString(decoded.getBytes(CHARSET))) in testEncodes()
81 assertThat(LowerCaseBase16Encoding.decodeToBytes(encoded)).isEqualTo(decoded.getBytes(CHARSET)); in testDecodes()
/external/opencensus-java/api/src/main/java/io/opencensus/trace/
DLowerCaseBase16Encoding.java23 final class LowerCaseBase16Encoding { class
90 private LowerCaseBase16Encoding() {}
DSpanId.java111 return new SpanId(LowerCaseBase16Encoding.decodeToBytes(src)); in fromLowerBase16()
178 return LowerCaseBase16Encoding.encodeToString(bytes); in toLowerBase16()
DTraceId.java112 return new TraceId(LowerCaseBase16Encoding.decodeToBytes(src)); in fromLowerBase16()
179 return LowerCaseBase16Encoding.encodeToString(bytes); in toLowerBase16()