Package info.ata4.io

Examples of info.ata4.io.DataOutputWriter.align()


                            tangents.add(t);
                            break;
                    }
                }
               
                in.align(stream.stride.intValue());
            }
        }
    }

    private void readIndexBuffer() throws IOException {
View Full Code Here


        refTable.write(outStruct);
       
        // align block to 16 bytes
        int structSize = bosStruct.size();
        int structAlign = 16;
        outStruct.align(structAlign);
       
        ByteBuffer bbStruct = ByteBuffer.wrap(bosStruct.toByteArray());
       
        // calculate padding
        int minSize = 4096;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.