MCPcopy Create free account
hub / github.com/grpc/grpc-java / toBytes

Method toBytes

api/src/main/java/io/grpc/Metadata.java:1007–1011  ·  view source on GitHub ↗
(T value)

Source from the content-addressed store, hash-verified

1005 }
1006
1007 @Override
1008 byte[] toBytes(T value) {
1009 return Preconditions.checkNotNull(
1010 marshaller.toAsciiString(value), "null marshaller.toAsciiString()");
1011 }
1012
1013 @Override
1014 T parseBytes(byte[] serialized) {

Callers

nothing calls this directly

Calls 2

checkNotNullMethod · 0.80
toAsciiStringMethod · 0.65

Tested by

no test coverage detected