Format must match the AppProtocolId provided by the peer (CBLite / ISGR)
()
| 37 | |
| 38 | // Format must match the AppProtocolId provided by the peer (CBLite / ISGR) |
| 39 | func (v CBMobileSubprotocolVersion) SubprotocolString() string { |
| 40 | return cbMobileBLIPSubprotocolPrefix + strconv.Itoa(int(v)) |
| 41 | } |
| 42 | |
| 43 | // ParseSubprotocolString takes a 'CBMobile_' prefixed string and returns the subprotocol version. |
| 44 | func ParseSubprotocolString(s string) (CBMobileSubprotocolVersion, error) { |
no outgoing calls