Rework every uint8 to byte and rework every []byte to bytes.Buffer
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user