public static nfsv4_1_file_layout4 decodeLayoutId(byte[] data) throws OncRpcException, IOException { XdrDecodingStream xdr = new XdrBuffer(data); nfsv4_1_file_layout4 device = new nfsv4_1_file_layout4(); xdr.beginDecoding(); device.xdrDecode(xdr); xdr.endDecoding(); return device; }