internal override int ReadDataWireFormat(byte[] buffer, int bufferIndex, int len) { int start = bufferIndex; if (ErrorCode != 0) { return 4; } try { SecurityDescriptor = new SecurityDescriptor(); bufferIndex += SecurityDescriptor.Decode(buffer, bufferIndex, len); } catch (IOException ioe) { throw new RuntimeException(ioe.Message); } return bufferIndex - start; }
internal override int ReadDataWireFormat(byte[] buffer, int bufferIndex, int len) { int start = bufferIndex; if (ErrorCode != 0) { return(4); } try { SecurityDescriptor = new SecurityDescriptor(); bufferIndex += SecurityDescriptor.Decode(buffer, bufferIndex, len); } catch (IOException ioe) { throw new RuntimeException(ioe.Message); } return(bufferIndex - start); }