core/src/main/java/com/orientechnologies/orient/core/serialization/OMemoryStream.java
public void fill(final int iLength, final byte iFiller) {
    assureSpaceFor(iLength);
    Arrays.fill(buffer, position, position + iLength, iFiller);
    position += iLength;
  }
public void fill(final int iLength, final byte iFiller) {
    assureSpaceFor(iLength);
    Arrays.fill(buffer, position, position + iLength, iFiller);
    position += iLength;
  }
public void fill ( final int iLength , final byte iFiller ) { assureSpaceFor ( iLength ) ; Arrays . fill ( buffer , position , position + iLength , iFiller ) ; position += iLength ; }
Fills the stream from current position writing iLength times the iFiller byte

@param iLength Bytes to jump
@param iFiller Byte to use to fill the space
Fills the stream from current position writing iLength times the iFiller byte