Package com.db4o.io

Class ReadOnlyBin

  • All Implemented Interfaces:
    Bin

    public class ReadOnlyBin
    extends BinDecorator
    • Constructor Summary

      Constructors 
      Constructor Description
      ReadOnlyBin​(Bin storage)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void write​(long position, byte[] bytes, int bytesToWrite)
      writes a given number of bytes from an array of bytes at an offset position
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ReadOnlyBin

        public ReadOnlyBin​(Bin storage)
    • Method Detail

      • write

        public void write​(long position,
                          byte[] bytes,
                          int bytesToWrite)
        Description copied from interface: Bin
        writes a given number of bytes from an array of bytes at an offset position
        Specified by:
        write in interface Bin
        Overrides:
        write in class BinDecorator
        Parameters:
        position - the offset position to write at
        bytes - the array of bytes to write
        bytesToWrite - the number of bytes to write
        See Also:
        Bin.write(long, byte[], int)