(buf *bytes.Buffer, data []byte)
| 53 | } |
| 54 | |
| 55 | func yjsWritePayload(buf *bytes.Buffer, data []byte) { |
| 56 | yjsWriteUvarint(buf, uint64(len(data))) |
| 57 | buf.Write(data) |
| 58 | } |
| 59 | |
| 60 | // buildYjsSyncStep1 builds a valid SyncStep1 message with empty state vector. |
| 61 | func buildYjsSyncStep1() []byte { |
no test coverage detected