Class StatsTestUtils.FakeTagContextBinarySerializer

  • Enclosing class:
    StatsTestUtils

    public static final class StatsTestUtils.FakeTagContextBinarySerializer
    extends io.opencensus.tags.propagation.TagContextBinarySerializer
    • Constructor Detail

      • FakeTagContextBinarySerializer

        public FakeTagContextBinarySerializer()
    • Method Detail

      • 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