readUint8LengthPrefixed acts like s.ReadUint8LengthPrefixed, but targets a []byte instead of a cryptobyte.String.
(s *cryptobyte.String, out *[]byte)
| 51 | // readUint8LengthPrefixed acts like s.ReadUint8LengthPrefixed, but targets a |
| 52 | // []byte instead of a cryptobyte.String. |
| 53 | func readUint8LengthPrefixed(s *cryptobyte.String, out *[]byte) bool { |
| 54 | return s.ReadUint8LengthPrefixed((*cryptobyte.String)(out)) |
| 55 | } |
| 56 | |
| 57 | // readUint16LengthPrefixed acts like s.ReadUint16LengthPrefixed, but targets a |
| 58 | // []byte instead of a cryptobyte.String. |