Fix WriteBytes16

master
HimbeerserverDE 2021-04-01 16:05:39 +02:00
parent 4771229673
commit dff63dbe5b
No known key found for this signature in database
GPG Key ID: 1A651504791E6A8B
1 changed files with 1 additions and 1 deletions

View File

@ -70,6 +70,6 @@ func ReadBytes16(r io.Reader) []byte {
}
func WriteBytes16(w io.Writer, v []byte) {
WriteUint16(w, len(v))
WriteUint16(w, uint16(len(v)))
w.Write(v)
}