laserdisc.protocol
RESP Bulk Strings
There can be 2 cases:
null
Non-null BulkStrings can be constructed using the RESPBuilders#bulk method
import laserdisc.protocol.RESP._ val nonNullBulkString: NonNullBulkString = bulk("some string") val nullBulkString: NullBulkString = nullBulk
A forwarder for null BulkStrings is present too and represented using the final vals RESPBuilders.nullBulk
final val
Show
RESP Bulk Strings
There can be 2 cases:
null
bulk strings, where the length is -1 and no actual underlying string is presentNon-null BulkStrings can be constructed using the RESPBuilders#bulk method
A forwarder for
null
BulkStrings is present too and represented using thefinal val
s RESPBuilders.nullBulkShow