Esempio n. 1
0
func (t *RpcError) Read(decoder tl.Decoder, waitress tl.Waitress, bind_uuid uuid.UUID) (err error) {
	t.ErrorCode, err = decoder.ReadInt()
	if err != nil {
		return
	}
	t.ErrorMessage, err = decoder.ReadString()
	return
}
Esempio n. 2
0
func (t *String) Read(decoder tl.Decoder, waitress tl.Waitress, bind_uuid uuid.UUID) (err error) {
	t.value, err = decoder.ReadString()
	return
}