Skip to content

Commit

Permalink
Fix indentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevingurney committed Jan 15, 2025
1 parent 2c9de9b commit e812496
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions matlab/src/matlab/+arrow/+io/+ipc/RecordBatchStreamReader.m
Original file line number Diff line number Diff line change
Expand Up @@ -27,25 +27,25 @@
end

methods (Static)
function obj = fromBytes(bytes)
arguments
bytes(:, 1) uint8
end
args = struct(Bytes=bytes, Type="Bytes");
proxyName = "arrow.io.ipc.proxy.RecordBatchStreamReader";
proxy = arrow.internal.proxy.create(proxyName, args);
obj = arrow.io.ipc.RecordBatchStreamReader(proxy);
function obj = fromBytes(bytes)
arguments
bytes(:, 1) uint8
end
args = struct(Bytes=bytes, Type="Bytes");
proxyName = "arrow.io.ipc.proxy.RecordBatchStreamReader";
proxy = arrow.internal.proxy.create(proxyName, args);
obj = arrow.io.ipc.RecordBatchStreamReader(proxy);
end

function obj = fromFile(filename)
arguments
filename(1, 1) string {mustBeNonzeroLengthText}
end
args = struct(Filename=filename, Type="File");
proxyName = "arrow.io.ipc.proxy.RecordBatchStreamReader";
proxy = arrow.internal.proxy.create(proxyName, args);
obj = arrow.io.ipc.RecordBatchStreamReader(proxy);
function obj = fromFile(filename)
arguments
filename(1, 1) string {mustBeNonzeroLengthText}
end
args = struct(Filename=filename, Type="File");
proxyName = "arrow.io.ipc.proxy.RecordBatchStreamReader";
proxy = arrow.internal.proxy.create(proxyName, args);
obj = arrow.io.ipc.RecordBatchStreamReader(proxy);
end
end

methods
Expand Down

0 comments on commit e812496

Please sign in to comment.