mirror of
https://github.com/hanzoai/psrpc.git
synced 2026-09-30 23:47:22 +00:00
14 lines
242 B
Go
14 lines
242 B
Go
package bus
|
|
|
|
import "google.golang.org/protobuf/proto"
|
|
|
|
// These helpers are only exposed during tests.
|
|
|
|
func RawRead(r Reader) ([]byte, bool) {
|
|
return r.read()
|
|
}
|
|
|
|
func Deserialize(b []byte) (proto.Message, error) {
|
|
return deserialize(b)
|
|
}
|