Variable name tagLengthByte encoded its type (byte) rather than its role (the length field of a TLV record). AX Principle 1: names must be semantic, not type-annotated. tagLength is unambiguous without the redundant Byte suffix. Co-Authored-By: Charon <charon@lethean.io> |
||
|---|---|---|
| .. | ||
| packet.go | ||
| packet_test.go | ||
| reader.go | ||
| reader_test.go | ||