📄 bytearrayevent.java
字号:
/* * Copyright (c) 2003, The Regents of the University of California, through * Lawrence Berkeley National Laboratory (subject to receipt of any required * approvals from the U.S. Dept. of Energy). All rights reserved. */package gov.lbl.dsd.sea.demo;import gov.lbl.dsd.sea.Stage;import gov.lbl.dsd.sea.event.GenericCallbackEvent;/** * An event that contains an array of bytes. * * @author whoschek@lbl.gov, modified kberket@lbl.gov * @author $Author: hoschek3 $ * @version $Revision: 1.1 $, $Date: 2004/05/29 19:24:57 $ */public class ByteArrayEvent extends GenericCallbackEvent { public ByteArrayEvent(Stage source, byte[] bytes) { super(source, bytes); } public ByteArrayEvent(Stage source, byte[] bytes, Object info) { super(source, bytes, info); } public byte[] getBytes() { return (byte[]) this.getMessage(); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -