MCPcopy Create free account
hub / github.com/apache/thrift / ReadUUID

Method ReadUUID

lib/go/thrift/simple_json_protocol.go:602–610  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

600}
601
602func (p *TSimpleJSONProtocol) ReadUUID(ctx context.Context) (v Tuuid, err error) {
603 var s string
604 s, err = p.ReadString(ctx)
605 if err != nil {
606 return v, err
607 }
608 v, err = ParseTuuid(s)
609 return v, NewTProtocolExceptionWithType(INVALID_DATA, err)
610}
611
612func (p *TSimpleJSONProtocol) Flush(ctx context.Context) (err error) {
613 return NewTProtocolException(p.writer.Flush())

Callers

nothing calls this directly

Calls 3

ReadStringMethod · 0.95
ParseTuuidFunction · 0.85

Tested by

no test coverage detected