func writeUint8(w io.Writer, val uint8) error {
    buf := [1]byte{val,}
    _, err := w.Write(buf[:])
    return err
}
// Write uint8 to io.Writer

Write uint8 to io.Writer
// Write uint8 to io . Writer
func writeUint8(w io.Writer, val uint8) error {
    buf := [1]byte{val,}
    _, err := w.Write(buf[:])
    return err
}
func writeUint8 ( w io . Writer , val uint8 ) error { buf := [ 1 ] byte { val , } _ , err := w . Write ( buf [ : ] ) return err }
Write uint8 to io.Writer
Write uint8 to io . Writer