@@ -0,0 +1,1065 @@
+package ser;%0A%0Aimport org.nustaq.serialization.FSTConfiguration;%0Aimport org.nustaq.serialization.FSTObjectOutput;%0A%0Aimport java.util.Arrays;%0A%0A/**%0A * Created by moelrue on 27.10.2015.%0A */%0Apublic class Issue91 %7B%0A%0A    public static void main(String%5B%5D args) throws Exception %7B%0A        FSTConfiguration config = FSTConfiguration.createDefaultConfiguration();%0A        FSTObjectOutput out = config.getObjectOutput();%0A        out.writeObject(%22foobar%22);%0A        byte%5B%5D savedBuffer = out.getCopyOfWrittenBuffer();%0A        byte%5B%5D reallySavedBuffer = Arrays.copyOf(savedBuffer, savedBuffer.length);%0A%0A        System.out.println(Arrays.equals(savedBuffer, reallySavedBuffer));%0A%0A        out.resetForReUse();%0A        out.writeObject(%22blah%22);%0A        byte%5B%5D secondBuffer = out.getCopyOfWrittenBuffer();%0A%0A        System.out.println(Arrays.equals(savedBuffer, reallySavedBuffer));%0A%0A        config.getObjectInput(savedBuffer);%0A        config.getObjectInputCopyFrom(secondBuffer, 0, secondBuffer.length);%0A        System.out.println(Arrays.equals(savedBuffer, reallySavedBuffer));%0A    %7D%0A%7D%0A

add test snippet (see #91)