@Override
    public SeekableByteChannel getChannel() {
        return new RedissonByteChannel();
    }
@Test
    public void testChannelPosition() throws IOException {
        RBinaryStream stream = redisson.getBinaryStream("test");
        SeekableByteChannel c = stream.getChannel();
        c.write(ByteBuffer.wrap(new byte[]{1, 2, 3, 4, 5, 6, 7}));
        c.position(3);
        ByteBuffer b = ByteBuffer.allocate(3);
        c.read(b);
        assertThat(c.position()).isEqualTo(6);
        byte[] bb = new byte[3];
        b.flip();
        b.get(bb);
        assertThat(bb).isEqualTo(new byte[]{4, 5, 6});
    }