From 4f28bb679a53203c62deae1f28a4e9b5acb4abae Mon Sep 17 00:00:00 2001 From: Takeshi YAMAMURO Date: Thu, 26 Jan 2017 14:58:23 +0900 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ecfc3ed..9a4a20f 100755 --- a/README.md +++ b/README.md @@ -97,10 +97,10 @@ BitShuffle is an algorithm that reorders data bits (shuffle) for efficient compr import org.xerial.snappy.BitShuffle; int[] data = new int[] {1, 3, 34, 43, 34}; -byte[] shuffledByteArray = BitShuffle.bitShuffle(data); +byte[] shuffledByteArray = BitShuffle.shuffle(data); byte[] compressed = Snappy.compress(shuffledByteArray); byte[] uncompressed = Snappy.uncompress(compressed); -int[] result = BitShuffle.bitUnShuffleIntArray(uncompress); +int[] result = BitShuffle.unshuffleIntArray(uncompress); System.out.println(result); ```