static public int GetProtoBytes_s(IntPtr l) { try { var ret = SprotoTest.GetProtoBytes(); pushValue(l, true); pushValue(l, ret); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int SetProtoBytes_s(IntPtr l) { try { SLua.ByteArray a1; checkType(l, 1, out a1); SprotoTest.SetProtoBytes(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }