aboutsummaryrefslogtreecommitdiffstats
path: root/src/ru/olamedia/util/BufferUtils.java
blob: 10d9f3679efeac144d9228dba9a89a0b09487975 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package ru.olamedia.util;

import java.nio.FloatBuffer;
import java.nio.ShortBuffer;

public class BufferUtils {

	public static ShortBuffer createShortBuffer(int capacity) {
		return ShortBuffer.allocate(capacity);
	}

	public static FloatBuffer createFloatBuffer(int capacity) {
		return FloatBuffer.allocate(capacity);
	}

}