75 public static byte[] _v0(anywheresoftware.b4a.BA _ba,b4a.example.signaturecapture._signaturedata _sd,String _dir,String _name) throws Exception{
76 anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null;
77' //BA.debugLineNum = 32;BA.debugLine="Sub Save(SD As SignatureData, Dir As String, Name As String) As Byte()";
78' //BA.debugLineNum = 33;BA.debugLine="Dim out As OutputStream";
79 _out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper();
80' //BA.debugLineNum = 34;BA.debugLine="out.InitializeToBytesArray(100)";
81 _out.InitializeToBytesArray((int)(100));
82' //BA.debugLineNum = 35;BA.debugLine="SD.Canvas.Bitmap.WriteToStream(out, 100, \"PNG\")";
83 _sd.Canvas.getBitmap().WriteToStream((java.io.OutputStream)(_out.getObject()),(int)(100),BA.getEnumFromString(android.graphics.Bitmap.CompressFormat.class,"PNG"));
84' //BA.debugLineNum = 36;BA.debugLine="Return out";
85 if (true) return (byte[])(_out.getObject());
86' //BA.debugLineNum = 37;BA.debugLine="End Sub";
87 return null;
88 }