MessageBare returns the message without the GS2 header.
()
| 339 | } |
| 340 | |
| 341 | // MessageBare returns the message without the GS2 header. |
| 342 | func (si SASLInitial) MessageBare() []byte { |
| 343 | return bytes.TrimPrefix(si.RawData, si.base64HeaderBytes()) |
| 344 | } |
| 345 | |
| 346 | // base64HeaderBytes returns the GS2 header encoded as bytes. |
no test coverage detected