Class EFGraph.LongWordOutputBitStream

java.lang.Object
it.unimi.dsi.webgraph.EFGraph.LongWordOutputBitStream
Enclosing class:
EFGraph

public static final class EFGraph.LongWordOutputBitStream
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    LongWordOutputBitStream​(java.nio.channels.WritableByteChannel writableByteChannel, java.nio.ByteOrder byteOrder)  
  • Method Summary

    Modifier and Type Method Description
    int align()  
    long append​(long[] value, long length)  
    int append​(long value, int width)  
    long append​(LongArrayBitVector bv)  
    long append​(LongBigList value, long length)  
    long append​(EFGraph.LongWordCache cache)  
    void close()  
    int writeGamma​(long value)  
    int writeNonZeroGamma​(long value)  

    Methods inherited from class java.lang.Object

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

    • LongWordOutputBitStream

      public LongWordOutputBitStream​(java.nio.channels.WritableByteChannel writableByteChannel, java.nio.ByteOrder byteOrder)
  • Method Details

    • append

      public int append​(long value, int width) throws java.io.IOException
      Throws:
      java.io.IOException
    • append

      public long append​(long[] value, long length) throws java.io.IOException
      Throws:
      java.io.IOException
    • append

      public long append​(LongBigList value, long length) throws java.io.IOException
      Throws:
      java.io.IOException
    • append

      public long append​(LongArrayBitVector bv) throws java.io.IOException
      Throws:
      java.io.IOException
    • append

      public long append​(EFGraph.LongWordCache cache) throws java.io.IOException
      Throws:
      java.io.IOException
    • align

      public int align() throws java.io.IOException
      Throws:
      java.io.IOException
    • writeNonZeroGamma

      public int writeNonZeroGamma​(long value) throws java.io.IOException
      Throws:
      java.io.IOException
    • writeGamma

      public int writeGamma​(long value) throws java.io.IOException
      Throws:
      java.io.IOException
    • close

      public void close() throws java.io.IOException
      Throws:
      java.io.IOException