public interface BytesComment<B extends BytesComment<B>>
Modifier and Type | Method and Description |
---|---|
default B |
comment(CharSequence comment)
Add comment as approriate for the toHexString format
|
default B |
indent(int n)
Adjust the indent for nested data
|
default boolean |
retainsComments()
Do these Bytes support saving comments
|
default boolean retainsComments()
default B comment(CharSequence comment) throws IllegalStateException
comment
- to add (or ignore)IllegalStateException
default B indent(int n) throws IllegalStateException
n
- +1 indent in, -1 reduce indentingIllegalStateException
Copyright © 2021. All rights reserved.