Rework every uint8 to byte and rework every []byte to bytes.Buffer
Some checks failed
Benchmark BufferPool / RunBenchmarks (push) Failing after 17s
Run Tests / Test (push) Failing after 15s

I just learnt that uint8 and byte are the fucking same
And that bytes.Buffer is the thing to use
Idiot idiot idiot...
Live and learn
This commit is contained in:
2024-07-24 18:43:18 +02:00
parent bed69fbfd3
commit f30680c26f
9 changed files with 461 additions and 418 deletions

View File

@@ -6,15 +6,15 @@ type (
system_id string
password string
system_type string
interface_version uint8
addr_ton uint8
addr_npi uint8
interface_version byte
addr_ton byte
addr_npi byte
address_range string
}
BIND_RESP struct {
header PDU_HEADER
system_id string
sc_interface_version uint8
sc_interface_version byte
}
BIND_RECVEIVER struct {
BIND