This repository was archived by the owner on Dec 23, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
api/src/main/java/io/opencensus/tags/propagation Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,8 @@ public abstract class TagContextBinarySerializer {
3434 *
3535 * @param tags the {@code TagContext} to serialize.
3636 * @return the on-the-wire representation of a {@code TagContext}.
37- * @throws TagContextSerializationException if the result would be larger than 8192 bytes.
37+ * @throws TagContextSerializationException if the result would be larger than the maximum allowed
38+ * serialized size.
3839 */
3940 public abstract byte [] toByteArray (TagContext tags ) throws TagContextSerializationException ;
4041
@@ -46,7 +47,7 @@ public abstract class TagContextBinarySerializer {
4647 * @param bytes on-the-wire representation of a {@code TagContext}.
4748 * @return a {@code TagContext} deserialized from {@code bytes}.
4849 * @throws TagContextDeserializationException if there is a parse error, the input contains
49- * invalid tags, or the input is larger than 8192 bytes .
50+ * invalid tags, or the input is larger than the maximum allowed serialized size .
5051 */
5152 public abstract TagContext fromByteArray (byte [] bytes ) throws TagContextDeserializationException ;
5253}
You can’t perform that action at this time.
0 commit comments