Candyjing1024 / kryo

Automatically exported from code.google.com/p/kryo
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Input API is ridiculous #123

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
    @Test
    public void test() throws Exception {
        final byte[] buf = new byte[30];
        final Input in = new Input(buf, 10, 10);
        assertEquals(10, in.available());
    }

java.lang.AssertionError: 
Expected :10
Actual   :0

Original issue reported on code.google.com by denis.af...@gmail.com on 5 Aug 2013 at 8:40

GoogleCodeExporter commented 8 years ago
Fixed.

Does a bug in setBuffer makes an entire API ridiculous? This software is 
supported and provided to you for free. You are more than welcome not to use it.

Original comment by nathan.s...@gmail.com on 5 Aug 2013 at 9:44

GoogleCodeExporter commented 8 years ago
Thanks. Sorry for being asshole.

Original comment by denis.af...@gmail.com on 5 Aug 2013 at 11:17