create a VertexWriter that writes into a java.nio.ByteBuffer through BufferWriter
java.nio.ByteBuffer