public JHSNetworkWriter(byte[] buffer) { m_Buffer = new JHSNetBuffer(buffer); if (s_Encoding == null) { s_Encoding = new UTF8Encoding(); s_StringWriteBuffer = new byte[k_MaxStringLength]; } }
public JHSNetworkReader(byte[] buffer) { m_buf = new JHSNetBuffer(buffer); Initialize(); }
public JHSNetworkReader(JHSNetworkWriter writer) { m_buf = new JHSNetBuffer(writer.AsArray()); Initialize(); }
public JHSNetworkReader() { m_buf = new JHSNetBuffer(); Initialize(); }