+4
-1
README.md
+4
-1
README.md
······
+26
message.go
+26
message.go
······
······
+46
message_test.go
+46
message_test.go
······
···+input: []byte{0xea, 0x7c, 0x1, 0x20, 0x0, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x6, 0x6c, 0x6f, 0x62, 0x73, 0x74, 0x65, 0x2, 0x72, 0x73, 0x0, 0x0, 0x1, 0x0, 0x1, 0x0, 0x0, 0x29, 0x4, 0xd0, 0x0, 0x64, 0x0, 0x0, 0x0, 0x8, 0x0, 0x64, 0x0, 0x4, 0x66, 0x6f, 0x6f, 0xa},···
+78
-5
resource_record.go
+78
-5
resource_record.go
···return len(buf), fmt.Errorf("x25 record: string segment length %d exceeds RDLENGTH boundary %d", strLen, endOffset)return len(buf), fmt.Errorf("x25 record: failed to read string data (length %d): %w", strLen, err)············return nil, fmt.Errorf("rr encode: failed to encode RData for %s (%s): %w", r.Name, r.RType.String(), err)
···return len(buf), fmt.Errorf("x25 record: string segment length %d exceeds RDLENGTH boundary %d", strLen, endOffset)return len(buf), fmt.Errorf("x25 record: failed to read string data (length %d): %w", strLen, err)············return nil, fmt.Errorf("rr encode: failed to encode RData for %s (%s): %w", r.Name, r.RType.String(), err)
+25
types.go
+25
types.go
··················
··················