src/com/makina/security/OpenFIPS201/TLVReader.java
public void toBytes(byte[] buffer, short offset) {

        byte[] data = (byte[])dataPtr[0];
        short dataLength = getLength();
        short dataOffset = getDataOffset();

        Util.arrayCopyNonAtomic(data, dataOffset, buffer, offset, dataLength);
    }
/**
     * Writes the raw bytes for this tag to the specified buffer, which must have
     * enough space to write the entire object to (as per getLength()).
     * @param buffer The buffer to write the bytes to
     * @param offset The offset to start writing from in buffer
     */
Writes the raw bytes for this tag to the specified buffer, which must have
enough space to write the entire object to (as per getLength()).
@param buffer The buffer to write the bytes to
@param offset The offset to start writing from in buffer
Writes the raw bytes for this tag to the specified buffer which must have enough space to write the entire object to ( as per getLength () ) . @param buffer The buffer to write the bytes to @param offset The offset to start writing from in buffer
public void toBytes(byte[] buffer, short offset) {
        byte[] data = (byte[])dataPtr[0];
        short dataLength = getLength();
        short dataOffset = getDataOffset();
        Util.arrayCopyNonAtomic(data, dataOffset, buffer, offset, dataLength);
    }
public void toBytes ( byte [ ] buffer , short offset ) { byte [ ] data = ( byte [ ] ) dataPtr [ 0 ] ; short dataLength = getLength ( ) ; short dataOffset = getDataOffset ( ) ; Util . arrayCopyNonAtomic ( data , dataOffset , buffer , offset , dataLength ) ; }
Writes the raw bytes for this tag to the specified buffer, which must have
 enough space to write the entire object to (as per getLength()).
Writes the raw bytes for this tag to the specified buffer which must have enough space to write the entire object to ( as per getLength () ) .