Class ByteArrayUtils

java.lang.Object
org.aksw.jenax.io.kryo.jena.ByteArrayUtils

public class ByteArrayUtils extends Object
Utils for writing and reading byte arrays by prefixing the data with its length
Author:
Claus Stadler
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static byte[]
    read(com.esotericsoftware.kryo.io.Input input)
     
    static void
    write(com.esotericsoftware.kryo.io.Output output, byte[] bytes)
     
    static void
    write(com.esotericsoftware.kryo.io.Output output, byte[] bytes, int offset, int length)
     

    Methods inherited from class java.lang.Object

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

    • ByteArrayUtils

      public ByteArrayUtils()
  • Method Details

    • write

      public static void write(com.esotericsoftware.kryo.io.Output output, byte[] bytes)
    • write

      public static void write(com.esotericsoftware.kryo.io.Output output, byte[] bytes, int offset, int length)
    • read

      public static byte[] read(com.esotericsoftware.kryo.io.Input input)