1 /* 2 * Copyright (C) The Apache Software Foundation. All rights reserved. 3 * 4 * This software is published under the terms of the Apache Software License 5 * version 1.1, a copy of which has been included with this distribution in 6 * the docs/licenses/apache-1.1.txt file. 7 */ 8 9 package org.jboss.axis.attachments; 10 11 public class OctetStream 12 { 13 private byte[] bytes = null; 14 15 public OctetStream() 16 { 17 } 18 19 public OctetStream(byte[] bytes) 20 { 21 this.bytes = bytes; 22 } 23 24 public byte[] getBytes() 25 { 26 return this.bytes; 27 } 28 29 public void setBytes(byte[] bytes) 30 { 31 this.bytes = bytes; 32 } 33 } 34