func GetUint16(buf []byte) (n uint16) {
	n |= uint16(buf[0])
	n |= uint16(buf[1]) << 8
	return
}
GetUint16 decodes a little-endian uint16 from a byte slice.
package flatbuffers
import (
	"math"
)
type (
	SOffsetT int32
	UOffsetT uint32
	VOffsetT uint16
)
const (
	VtableMetadataFields = 2
)
func GetByte(buf []byte) byte {
	return byte(GetUint8(buf))
}
func GetBool(buf []byte) bool {
	return buf[0] == 1
}
func GetUint8(buf []byte) (n uint8) {
	n = uint8(buf[0])
	return
}