func EncodeBool(w io.Writer, b bool) (err error) {
	if b {
		err = EncodeUint8(w, 1) // same as EncodeUvarint(w, 1).
	} else {
		err = EncodeUint8(w, 0) // same as EncodeUvarint(w, 0).
	}
	return
}
func EncodeBool(w io.Writer, b bool) (err error) {
	if b {
		err = EncodeUint8(w, 1) 
	} else {
		err = EncodeUint8(w, 0) 
	}
	return
}
func EncodeBool ( w io . Writer , b bool ) ( err error ) { if b { err = EncodeUint8 ( w , 1 ) // same as EncodeUvarint(w, 1). } else { err = EncodeUint8 ( w , 0 ) // same as EncodeUvarint(w, 0). } return }
//----------------------------------------
// Other
---------------------------------------- Other