MessageBare returns the message without the GS2 header.
()
| 320 | |
| 321 | // MessageBare returns the message without the GS2 header. |
| 322 | func (si SASLInitial) MessageBare() []byte { |
| 323 | return bytes.TrimPrefix(si.RawData, si.base64HeaderBytes()) |
| 324 | } |
| 325 | |
| 326 | // base64HeaderBytes returns the GS2 header encoded as bytes. |
| 327 | func (si SASLInitial) base64HeaderBytes() []byte { |
no test coverage detected