(t testing.TB, valuesIn []super.Value, buf *bytes.Buffer)
| 62 | } |
| 63 | |
| 64 | func WriteBSUP(t testing.TB, valuesIn []super.Value, buf *bytes.Buffer) { |
| 65 | writer := bsupio.NewWriter(sio.NopCloser(buf)) |
| 66 | require.NoError(t, sio.Copy(writer, sbuf.NewArray(valuesIn))) |
| 67 | require.NoError(t, writer.Close()) |
| 68 | } |
| 69 | |
| 70 | func WriteCSUP(t testing.TB, valuesIn []super.Value, buf *bytes.Buffer) { |
| 71 | writer := csup.NewValWriter(sio.NopCloser(buf)) |