Class StatsTestUtils.FakeTagContextBinarySerializer

java.lang.Object
io.opencensus.tags.propagation.TagContextBinarySerializer
io.grpc.internal.testing.StatsTestUtils.FakeTagContextBinarySerializer
Enclosing class:
StatsTestUtils

public static final class StatsTestUtils.FakeTagContextBinarySerializer extends io.opencensus.tags.propagation.TagContextBinarySerializer
  • Field Details

  • Constructor Details

    • FakeTagContextBinarySerializer

      public FakeTagContextBinarySerializer()
  • Method Details

    • fromByteArray

      public io.opencensus.tags.TagContext fromByteArray(byte[] bytes) throws io.opencensus.tags.propagation.TagContextDeserializationException
      Specified by:
      fromByteArray in class io.opencensus.tags.propagation.TagContextBinarySerializer
      Throws:
      io.opencensus.tags.propagation.TagContextDeserializationException
    • toByteArray

      public byte[] toByteArray(io.opencensus.tags.TagContext tags)
      Specified by:
      toByteArray in class io.opencensus.tags.propagation.TagContextBinarySerializer