/* * Copyright (c) 2011 Tony Garnock-Jones. All rights reserved. */ package hop; import java.io.IOException; import java.io.OutputStream; /** */ public class SexpDisplayHint extends SexpBytes { public byte[] _hint; public SexpDisplayHint(byte[] hint, byte[] body) { super(body); _hint = hint; } public byte[] getHint() { return _hint; } public void writeTo(OutputStream stream) throws IOException { stream.write('['); SexpWriter.writeSimpleString(stream, _hint); stream.write(']'); super.writeTo(stream); } }