/* * This file is part of jsFlow. * * Copyright (c) 2009 DE-CIX Management GmbH <http://www.de-cix.net> - All rights * reserved. * * Author: Thomas King <thomas.king@de-cix.net> * * This software is licensed under the Apache License, version 2.0. A copy of * the license agreement is included in this distribution. */ package net.decix.jsflow.header; import net.decix.util.HeaderBytesException; import net.decix.util.HeaderParseException; public class CounterData { byte[] data; public CounterData() { } public static CounterData parse(byte[] data) throws HeaderParseException { CounterData fd = new CounterData(); fd.data = data; return fd; } public byte[] getBytes() throws HeaderBytesException { return data; } }