func (binaryProtocol) DecodeEnveloped(r io.ReaderAt) (wire.Envelope, error) { reader := binary.NewReader(r) e, err := reader.ReadEnveloped() return e, err }
func (binaryProtocol) Decode(r io.ReaderAt, t wire.Type) (wire.Value, error) { reader := binary.NewReader(r) value, _, err := reader.ReadValue(t, 0) return value, err }