]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.team.ui/src/org/simantics/team/internal/Kraa.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.team.ui / src / org / simantics / team / internal / Kraa.java
1 package org.simantics.team.internal;
2
3 import java.nio.ByteBuffer;
4 import java.nio.DoubleBuffer;
5
6 public class Kraa {
7
8     /**
9      * @param args
10      */
11     public static void main(String[] args) {
12         byte[] bytes = {63, -16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 63, -16, 0, 0, 0, 0, 0, 0, 64, 49, 0, 0, 0, 0, 0, 0, 64, 104, 32, 0, 0, 0, 0, 0};
13         ByteBuffer bf = ByteBuffer.wrap(bytes);
14         DoubleBuffer buf = bf.asDoubleBuffer();
15         for (int i=0; i<bytes.length/8; ++i) 
16             System.out.println("" + buf.get());
17         
18         // TODO Auto-generated method stub
19
20     }
21
22 }